private List <SelectListItem> GetTransmissionType()
        {
            TransmissionTypeFilter filter = new TransmissionTypeFilter();

            filter.Name = "";
            return(TransmissionTypeService.Get(filter).Select(b => new SelectListItem(b.Name, b.Id.ToString())).ToList());
        }
示例#2
0
 private List <SelectListItem> GetTransmissionTypes()
 {
     return(TransmissionTypeService.Get(new TransmissionTypeFilter()).Select(t => new SelectListItem(t.Name, t.Id.ToString())).ToList());
 }