add TODO in postaldest
This commit is contained in:
@ -19,6 +19,7 @@ namespace WGneu.Models {
|
|||||||
public virtual Country Country { get; set; }
|
public virtual Country Country { get; set; }
|
||||||
|
|
||||||
public AT_Plz? Plz(WgContext ctx) {
|
public AT_Plz? Plz(WgContext ctx) {
|
||||||
|
// TODO getter
|
||||||
if (CountryCode != "AT") return null;
|
if (CountryCode != "AT") return null;
|
||||||
return ctx.Postleitzahlen.Where(p => p.Id == Id).FirstOrDefault();
|
return ctx.Postleitzahlen.Where(p => p.Id == Id).FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user