public int CreateManufacturer(Model.Lookup.Manufacturer manufacturer) { var res = manufacturersRepository.Insert(manufacturer.AutoMapObject <Model.Lookup.Manufacturer, DB.Manufacturer>()); return(res.ManufacturerId); }
public int CreateManufacturer(Model.Lookup.Manufacturer manufacturer) { var res = manufacturersRepository.Insert(manufacturer.AutoMapObject <Model.Lookup.Manufacturer, DB.Manufacturer>()); return(res.ManufacturerId); }