Renamed WgContext to AppDbContext

This commit is contained in:
2023-03-11 15:33:05 +01:00
parent 8d61fdd35e
commit 40c158df36
6 changed files with 6 additions and 7 deletions

@ -32,7 +32,7 @@ namespace WGneu.Models {
[ForeignKey("CountryCode")]
public virtual Country Country { get; set; }
public ISet<AT_Plz> Orte(WgContext ctx) {
public ISet<AT_Plz> Orte(AppDbContext ctx) {
return ctx.Postleitzahlen.Where(p => p.Plz == Plz).ToHashSet();
}
}