public IEnumerable <ItemModel> GetReporta(int distritoId, int baseId, int id) { return(EntityDao.GetReporta(distritoId, baseId, id).Select(e => Mapper.ToItem(e)).ToList()); }
public IEnumerable <EmpleadoModel> GetReportaModel(int distritoId, int baseId, int id) { return(EntityDao.GetReporta(distritoId, baseId, id).Select(e => Mapper.EntityToModel(e, new EmpleadoModel())).ToList()); }