public TasksController(ITaskService taskService, IDeviceService deviceService, UserManager <User> userManager, ILogService logService, ISupplyRequestService <SupplyRequest> supplyRequestService)
 {
     _taskService          = taskService;
     _deviceService        = deviceService;
     _userManager          = userManager;
     _logService           = logService;
     _supplyRequestService = supplyRequestService;
 }
Exemplo n.º 2
0
 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;
 }