Example #1
0
 protected void CleanDataBase()
 {
     using (var db = CarManagementContext.getInstance())
     {
         db.EmptyContext();
         db.SaveChanges();
     }
 }
Example #2
0
 public UserService(CarManagementContext context)
 {
     Context = context;
 }
Example #3
0
 public ACService(CarManagementContext context, CarService carService)
 {
     _context    = context;
     _carService = carService;
 }
Example #4
0
 public VehiculeTypeController(CarManagementContext context)
 {
     _context = context;
 }
Example #5
0
 public LocalizationService(CarManagementContext context)
 {
     _context = context;
 }
Example #6
0
 public EmergencyService(CarManagementContext context, LocalizationService localizationService)
 {
     _context             = context;
     _localizationService = localizationService;
 }
Example #7
0
 public CarPartStateService(CarManagementContext context, CarService carService)
 {
     _context    = context;
     _carService = carService;
 }