コード例 #1
0
 public IEnumerable <TipoCocheModel> GetComboItem(int distritoId, int baseId)
 {
     return(new List <TipoCocheModel>(EntityDao.FindByEmpresasAndLineas(
                                          new List <int> {
         distritoId
     },
                                          new List <int> {
         baseId
     },
                                          Usuario)
                                      .Select(t => Mapper.EntityToModel(t, new TipoCocheModel()))));
 }