public EditModel(IProductsData productsData, IConfiguration configuration, IHtmlHelper htmlHelper, IServerFilesManager serverFilesManager) { this.productsData = productsData; this.configuration = configuration; this.htmlHelper = htmlHelper; this.serverFilesManager = serverFilesManager; this.htmlHelper = htmlHelper; ProductTypes = htmlHelper.GetEnumSelectList <ProductType>(); }
public DeleteModel(IProductsData productsData, IServerFilesManager serverFilesManager, IConfiguration configuration) { this.productsData = productsData; this.serverFilesManager = serverFilesManager; this.configuration = configuration; }
public FilesController(IServerFilesManager serverFilesManager, AppDbContext context) { _serverFilesManager = serverFilesManager; _context = context; }