Beispiel #1
0
 public VehicleModelControllerTest()
 {
     AutoMapperMap.ConfigureMapping();
     mapper     = AutoMapperMap.GetMapper();
     service    = new Mock <IVehicleModelService>();
     controller = new VehicleModelController(service.Object, mapper);
 }
Beispiel #2
0
 public VehicleService(VehicleDbContext context)
 {
     this.context = context;
     AutoMapperMap.ConfigureMapping();
     mapper = AutoMapperMap.GetMapper();
 }
 public VehicleMakeRepositoryTest()
 {
     AutoMapperMap.ConfigureMapping();
     mapper = AutoMapperMap.GetMapper();
 }