Exemple #1
0
 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;
 }
Exemple #3
0
 public FilesController(IServerFilesManager serverFilesManager, AppDbContext context)
 {
     _serverFilesManager = serverFilesManager;
     _context            = context;
 }