public InventoryController(IConfigService configService, InventoryService inventoryService, VendingDbContext context) { _configService = configService; _inventoryService = inventoryService; _context = context; }
public ConfigService(ILogger <ConfigService> logger, VendingDbContext context) { _logger = logger; _context = context; }
public ProductRepository(VendingDbContext dbContext, IMapper mapper) { _dbContext = dbContext; _mapper = mapper; }
public WorkflowRepository(VendingDbContext dbContext) { _dbContext = dbContext; }
public InventoryService(ILogger <InventoryService> logger, VendingDbContext context, IConfigService configService) { _logger = logger; _context = context; _configService = configService; }
public ConfigController(VendingDbContext context, IConfigService configService) { _context = context; _configService = configService; }
public CurrencyRepository(VendingDbContext dbContext) { _dbContext = dbContext; }
/// <summary> /// /// </summary> /// <param name="context"></param> /// <param name="autoMapper"></param> public VendingMachineService(VendingDbContext context, IMapper autoMapper) { dbContext = context; mapper = autoMapper; }