Пример #1
0
 private VehicleService()
 {
     db = new VehicleContext();
 }
Пример #2
0
 public VehicleService()
 {
     _context = new VehicleContext();
 }
Пример #3
0
 public VehicleService(VehicleContext context, IMapper mapper)
 {
     Context = context;
     Mapper  = mapper;
 }