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