Пример #1
0
 public List<FieldViewModel> GetAll()
 {
     return _fieldRepository.FindAll().Where(x => x.Status == Status.Active)
           .ProjectTo<FieldViewModel>().ToList();
 }