public IEnumerable <StudentViewModel> GetAll()
 {
     return(StudentRepo?.GetAll().Select(i => i.ToViewModel()).ToList());
 }
 public IEnumerable <GovernorateViewModel> GetAll()
 {
     return(GovernorateRepo?.GetAll().Select(i => i.ToViewModel()).ToList());
 }
示例#3
0
 public IEnumerable <FieldViewModel> GetAll()
 {
     return(FieldRepo?.GetAll().Select(i => i.ToViewModel()).ToList());
 }
 public IEnumerable <NeighborhoodViewModel> GetAll()
 {
     return(NeighborhoodRepo?.GetAll().Select(i => i.ToViewModel()).ToList());
 }