public ProductRepository(IHttpContextAccessor accessor, ObMultiChoiceContext db, IMapper mapper) : base(accessor, db) { _db = db; _mapper = mapper; _set = _db.Products; }
public InventoryRepository(IHttpContextAccessor accessor, ObMultiChoiceContext db, IMapper mapper) : base( accessor, db) { _db = db; _set = _db.Set <Inventory>(); _mapper = mapper; }
public InventoriesController(ObMultiChoiceContext context, IInventoryRepository repo, ILogger <InventoriesController> logger) { _context = context; _repo = repo; _logger = logger; }
public GenericBaseRepository(IHttpContextAccessor accessor, ObMultiChoiceContext db) { _accessor = accessor; _db = db; }
public ProductsController(ObMultiChoiceContext context, IProductRepository repo) { _context = context; _repo = repo; }
public ShelfRepository(IHttpContextAccessor accessor, ObMultiChoiceContext db) : base(accessor, db) { _db = db; }
public ShelvesController(ObMultiChoiceContext context, IShelfRepository repo) { _context = context; _repo = repo; }