public TasksController(ITaskService taskService, IDeviceService deviceService, UserManager <User> userManager, ILogService logService, ISupplyRequestService <SupplyRequest> supplyRequestService) { _taskService = taskService; _deviceService = deviceService; _userManager = userManager; _logService = logService; _supplyRequestService = supplyRequestService; }
public SupplyRequestController(ISupplyRequestService supplyRequestService, IProductService productService, IProviderService providerService, IMailService mailService, IUserService userService, IOptions <RestaurantDatabaseSettings> databaseContext) { this.supplyRequestService = supplyRequestService; this.productService = productService; this.providerService = providerService; this.mailService = mailService; this.userService = userService; this.dbSettings = databaseContext.Value; }