public VehicleServiceTests() { this.dbContext = base.DatabaseInstance; this.vehicleService = new VehicleService(this.dbContext, Mapper.Instance); }
public PartService(CarDealerDbContext db) { this.db = db; }
public CarsController(CarDealerDbContext context) { this.context = context; }
public CarService(CarDealerDbContext db) { this._db = db; }
public PartService(CarDealerDbContext dbContext) { this.dbContext = dbContext; }
public LogsController(CarDealerDbContext db) { this.logs = new LogService(db); }
public ManufacturerServiceTests() { this.dbContext = base.DatabaseInstance; this.manufacturerService = new ManufacturerService(this.dbContext, Mapper.Instance); }
public AppUser GetUser(string Id) { CarDealerDbContext context = new CarDealerDbContext(); return(context.Users.Find(Id)); }
public DatabaseInitializerService(CarDealerDbContext context, IMapper mapper) { this.context = context; this.mapper = mapper; this.rndGenerator = new Random(); }
public LoggerController(CarDealerDbContext context) { this.context = context; }
public Serializer(CarDealerDbContext db) { this.db = db; }
public PartsServices(CarDealerDbContext context) { this._context = context; }
public PictureService(CarDealerDbContext db) : base(db) { }
public LogServices(CarDealerDbContext db) { this.db = db; }
public LogServiceTests() { this.dbContext = base.DatabaseInstance; this.logService = new LogService(this.dbContext, Mapper.Instance); }
public CarService(CarDealerDbContext database) { this.database = database; }
public SaleService(CarDealerDbContext context, IMapper mapper) { this.context = context; this.mapper = mapper; }
public CustomerService(CarDealerDbContext db, IMapper mapper) { this.db = db; this.mapper = mapper; }
public CustomerServices(CarDealerDbContext context) { this._context = context; }
public SupplierServices(CarDealerDbContext context) { this._context = context; }
public JsonProcessor() { this._dbContext = new CarDealerDbContext(); }
public CarService(CarDealerDbContext db) => this.db = db;
public CarModelsController(CarDealerDbContext context) { _context = context; }
public AdService(CarDealerDbContext db, IMapper mapper) : base(db) { this.mapper = mapper; }
public VehicleElementService(CarDealerDbContext db) : base(db) { }
public VehicleService(CarDealerDbContext db, IMapper mapper) : base(db) { this.configuration = mapper.ConfigurationProvider; }
public SupplierService(CarDealerDbContext db) { this.db = db; }
public SalesService(CarDealerDbContext db) { this.db = db; }
public CustomerService(CarDealerDbContext db) { this.db = db; }
public IEnumerable <AppRole> RolesDropDown() { CarDealerDbContext context = new CarDealerDbContext(); return(context.DBRoles.ToList()); }