// // 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 UserController(IUserActionService _user, IProvinceActionService _province, IEmailListActionService emaillist, IExamineeActionService examinee) : base(_user, _province,emaillist,examinee) { }
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; }
public BaseController(IUserActionService _user, IProvinceActionService _province, IEmailListActionService _emaillist) { this.UserService = _user; this.ProvinceService = _province; this.EmailListService = _emaillist; //this.ExamineeService = ex; }
public BaseController(IUserActionService _user, IProvinceActionService _province, IEmailListActionService _emaillist, IExamineeActionService _examinee, IConfigurationActionService config) { this.UserService = _user; this.ProvinceService = _province; this.EmailListService = _emaillist; this.ExamineeService = _examinee; this.ConfigurationService = config; }
// // GET: /Home/ public HomeController(IUserActionService _user, IProvinceActionService _province, IEmailListActionService _emaillist, IExamineeActionService examinee, IConfigurationActionService config) : base(_user, _province, _emaillist, examinee, config) { }