예제 #1
0
 public ApplicationController(Bootstrapper bootstrapper)
 {
     this.supplierRepository      = bootstrapper.SupplierRepository;
     this.productRepository       = bootstrapper.ProductRepository;
     this.productEntryRepository  = bootstrapper.ProductEntryRepository;
     this.productIssueRepository  = bootstrapper.ProductIssueRepository;
     this.variationTypeRepository = bootstrapper.VariationTypeRepository;
     this.fileService             = bootstrapper.FileService;
     this.reportCreator           = bootstrapper.ReportCreator;
 }
예제 #2
0
 public ProductIssuePresenter(IProductIssueView view, ApplicationController appController, IProductIssueRepository repository)
 {
     this.view          = view;
     this.appController = appController;
     this.repository    = repository;
 }
예제 #3
0
 public ProductServiceMock(IProductIssueRepository productIssueRepository   = null,
                           IProductFamilyRepository productFamilyRepository = null,
                           IProductRepository productRepository             = null)
     : base(productRepository, productFamilyRepository, productIssueRepository)
 {
 }
예제 #4
0
 public EditProductIssuePresenter(IEditProductIssueView view, IProductRepository productRepository, IProductIssueRepository productIssueRepository)
 {
     this.view = view;
     this.productRepository      = productRepository;
     this.productIssueRepository = productIssueRepository;
 }