Renamed WgContext to AppDbContext
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user