Exemple #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;
 }
Exemple #2
0
 public EditVariationTypePresenter(IEditVariationTypeView view, VariationType variationType, IVariationTypeRepository repository)
 {
     this.view          = view;
     this.repository    = repository;
     this.variationType = variationType;
 }
Exemple #3
0
 public VariationTypePresenter(IVariationTypeView view, ApplicationController appController, IVariationTypeRepository repository)
 {
     this.view          = view;
     this.appController = appController;
     this.repository    = repository;
 }