示例#1
0
 public IEnumerable<Amphur> GetAmphurs(IAmphurRepository amphurRepository)
 {
     return from amp in amphurRepository.All()
            where amp.ProvinceID == this.ID
            && amp.LanguageID == this.LanguageID
            select amp;
 }
示例#2
0
 public IEnumerable <Amphur> GetAmphurs(IAmphurRepository amphurRepository)
 {
     return(from amp in amphurRepository.All()
            where amp.ProvinceID == this.ID &&
            amp.LanguageID == this.LanguageID
            select amp);
 }