Exemple #1
0
 private VehicleService()
 {
     db = new VehicleContext();
 }
Exemple #2
0
 public VehicleService()
 {
     _context = new VehicleContext();
 }
 public VehicleService(VehicleContext context, IMapper mapper)
 {
     Context = context;
     Mapper  = mapper;
 }