Ejemplo n.º 1
0
 public ImportController(IImportOrderRepository repoService,
                         IProductRepository productRepo,
                         ImportItems importItemsService)
 {
     repository       = repoService;
     this.productRepo = productRepo;
     importItems      = importItemsService;
 }
Ejemplo n.º 2
0
 public ReportController(
     IIncomeReportRepository reportRepository,
     IEmployeeRepository employeeRepository,
     IImportOrderRepository importRepository,
     IOrderRepository orderRepository)
 {
     this.reportRepo   = reportRepository;
     this.employeeRepo = employeeRepository;
     this.importRepo   = importRepository;
     this.orderRepo    = orderRepository;
 }
 public ImportOrdersController(IImportOrderRepository repo,
                               StoreDbContext context)
 {
     _repo    = repo;
     _context = context;
 }