//
 // GET: /Administrator/ProductManagement/
 public ProductManagementController(IProductActionService _product, 
     IProductAttributeActionService _attribute,
     ICategoryActionService _category, IModelActionService _model,
     IManufacturerActionService _manufacturer, ISearchActionService _search, IConfigurationActionService _config,
     IEmailTemplateActionService _emailtemplate, IEmailListActionService _emailist)
     : base(_product, _category, _model, _manufacturer, _search, _config, _attribute, _emailtemplate, _emailist)
 {
     try
     {
         Permission = ListPermission.FirstOrDefault(c => c.Module.Equals(Helper.ValueDefine.PRODUCT)).Role;
     }
     catch { }
 }
Exemplo n.º 2
0
 public BaseController(IProductActionService _product, ICategoryActionService _category,
     IModelActionService _model, IManufacturerActionService _manufacturer, ISearchActionService _search,
     IConfigurationActionService _config, IProductAttributeActionService _attribute,IAttributeActionService _att)
 {
     this.ProductService = _product;
     this.CategoryService = _category;
     this.ModelService = _model;
     this.ManufacturerService = _manufacturer;
     this.SearchService = _search;
     this.ConfigurationService = _config;
     this.ProductAttribute = _attribute;
     this.AttributeService = _att;
 }
Exemplo n.º 3
0
 public BaseController(IModelActionService _model, IManufacturerActionService _manufacturer)
 {
     this.ModelService = _model; this.ManufacturerService = _manufacturer;
 }
 //
 // GET: /Administrator/ModelManagement/
 public ModelManagementController(IModelActionService _model, IManufacturerActionService _manufacturer)
     : base(_model, _manufacturer)
 {
 }