Exemplo n.º 1
0
 public ReportService(IVendingMachineProductService vendingMachineProductService,
                      IRepository <Income> income,
                      IRepository <Defect> defect)
 {
     _vendingMachineProductService = vendingMachineProductService;
     _income = income;
     _defect = defect;
 }
 public VendingMachineProductController(IVendingMachineProductService vendingMachineProductService,
                                        IProductService productService,
                                        IFieldWorkerProductService fieldWorkerProductService,
                                        UserManager <AppUser> userManager) : base(userManager)
 {
     _vendingMachineProductService = vendingMachineProductService;
     _productService            = productService;
     _fieldWorkerProductService = fieldWorkerProductService;
 }