Пример #1
0
 public IEnumerable <ItemModel> GetReporta(int distritoId, int baseId, int id)
 {
     return(EntityDao.GetReporta(distritoId, baseId, id).Select(e => Mapper.ToItem(e)).ToList());
 }
Пример #2
0
 public IEnumerable <EmpleadoModel> GetReportaModel(int distritoId, int baseId, int id)
 {
     return(EntityDao.GetReporta(distritoId, baseId, id).Select(e => Mapper.EntityToModel(e, new EmpleadoModel())).ToList());
 }