// // GET: /Administrator/Category/ public GeneralConfigManagementController(IConfigurationActionService _config, IEmailTemplateActionService _email) : base(_config,_email) { try { Permission = ListPermission.FirstOrDefault(c => c.Module.Equals(Helper.ValueDefine.CONFIG)).Role; } catch { } }
// // 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 { } }
public BaseController(IConfigurationActionService _service, IEmailTemplateActionService _email) { this.ConfigurationService = _service; this.EmailTemplateService = _email; }
public BaseController(IUserActionService _user, IOrderActionService _order, IOrderDetailActionService _orderdetail, IProductActionService _product , IEmailListActionService _emaillist, IEmailTemplateActionService _mailtemplate, IShoppingCartActionService _shoppingcart) { this.UserService = _user; this.OrderService = _order; this.OrderDetailService = _orderdetail; this.ProductService = _product; this.EmailListService = _emaillist; this.EmailTemplateService = _mailtemplate; this.ShoppingCartService = _shoppingcart; }
public BaseController(IProductActionService _product, ICategoryActionService _category, IModelActionService _model, IManufacturerActionService _manufacturer, ISearchActionService _search, IConfigurationActionService _config, IProductAttributeActionService _attribute, IEmailTemplateActionService _emailtemplate, IEmailListActionService _emailist) { this.ProductService = _product; this.CategoryService = _category; this.ModelService = _model; this.ManufacturerService = _manufacturer; this.SearchService = _search; this.ConfigurationService = _config; this.ProductAttribute = _attribute; this.EmailTemplateService = _emailtemplate; this.EmailListService = _emailist; }