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