Exemple #1
0
 public Models.VehicleBrand GetVehicleBrandByID(Guid BrandID)
 {
     Domain.Vehicles.VehicleBrand VehicleBrand = VehicleBrandDao.Load(BrandID);
     Common.SimpleObjectMapper<Domain.Vehicles.VehicleBrand, Models.VehicleBrand> SimpleObjectMapper = new Common.SimpleObjectMapper<Domain.Vehicles.VehicleBrand, Models.VehicleBrand>();
     Models.VehicleBrand VehicleBrandModel = SimpleObjectMapper.ObjectMap(VehicleBrand);
     return VehicleBrandModel;
 }
Exemple #2
0
 public void UpdateVehicleBrand(Models.VehicleBrand VehicleBrandModel)
 {
     Common.SimpleObjectMapper<Models.VehicleBrand, Domain.Vehicles.VehicleBrand> SimpleObjectMapper = new Common.SimpleObjectMapper<Models.VehicleBrand, Domain.Vehicles.VehicleBrand>();
     Domain.Vehicles.VehicleBrand VehicleBrand = SimpleObjectMapper.ObjectMap(VehicleBrandModel);
     VehicleBrandDao.Update(VehicleBrand);
 }