示例#1
0
 public IEnumerable <Model.Lookup.Manufacturer> GetManufacturers()
 {
     return(manufacturersRepository
            .GetAll()
            .Select(r => r.AutoMapObject <DB.Manufacturer, Model.Lookup.Manufacturer>()));
 }