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; }
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; }