Ejemplo n.º 1
0
 public ProductEntryLineUseCases(IProductRepository productRepository, IProductEntryRepository productEntryRepository, IProductEntryLineRepository productEntryLineRepository, IMapper mapper)
 {
     _productRepository          = productRepository;
     _productEntryRepository     = productEntryRepository;
     _productEntryLineRepository = productEntryLineRepository;
     _mapper = mapper;
 }
Ejemplo n.º 2
0
 public EditProductEntryPresenter(IEditProductEntryView view, ISupplierRepository supplierRepository, IProductRepository productRepository, IProductEntryRepository productEntryRepository)
 {
     this.view = view;
     this.supplierRepository     = supplierRepository;
     this.productRepository      = productRepository;
     this.productEntryRepository = productEntryRepository;
 }
Ejemplo n.º 3
0
 public PeriodicReportUseCases(ISaleRepository saleRepositoryRepository, IProductEntryRepository productEntryRepository, ICommissionRepository commissionRepository, IMiscellaneousExpensesRepository miscellaneousExpensesRepository, IOwnFeesRepository ownFeesRepository, IFeeRuleRepository feeRuleRepository, IMapper mapper)
 {
     _saleRepositoryRepository        = saleRepositoryRepository;
     _productEntryRepository          = productEntryRepository;
     _commissionRepository            = commissionRepository;
     _miscellaneousExpensesRepository = miscellaneousExpensesRepository;
     _ownFeesRepository = ownFeesRepository;
     _feeRuleRepository = feeRuleRepository;
     _mapper            = mapper;
 }
Ejemplo n.º 4
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;
 }
Ejemplo n.º 5
0
 public ProductEntryRepositoryTest()
 {
     this.repository = new ProductEntryRepository();
 }
Ejemplo n.º 6
0
 public ProductEntryPresenter(IProductEntryView view, ApplicationController appController, IProductEntryRepository repository)
 {
     this.view          = view;
     this.appController = appController;
     this.repository    = repository;
 }