コード例 #1
0
 public EditProductPresenterPage(IEditProductView editProductView, IRepository <Category, Guid> repositoryCategory, IRepository <Marque, Guid> repositoryMarque, IRepository <Fournisseur, Guid> repositoryFournisseur, IRepository <Product, Guid> repositoryProduct)
 {
     _editProductView       = editProductView;
     _repositoryCategory    = repositoryCategory;
     _repositoryMarque      = repositoryMarque;
     _repositoryFournisseur = repositoryFournisseur;
     _repositoryProduct     = repositoryProduct;
 }
コード例 #2
0
 public EditProductPresenter(IEditProductView view, Product product, IProductRepository repository, IFileService fileService, IList <string> Genders, IList <string> Colors, IList <string> Sizes)
 {
     this.view        = view;
     this.product     = product;
     this.repository  = repository;
     this.fileService = fileService;
     this.Genders     = Genders;
     this.Colors      = Colors;
     this.Sizes       = Sizes;
 }