//
 // GET: /Administrator/Category/
 public UserManagementController(IUserActionService user, IGroupActionService group, 
     ISearchActionService _search, IUser_Role_ModuleActionService _userrole, IExamineeActionService _examinee)
     : base(user, group, _search, _userrole, _examinee)
 {
     try
     {
         Permission = ListPermission.FirstOrDefault(c => c.Module.Equals(Helper.ValueDefine.USER)).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 { }
 }
 //
 // GET: /Search/
 public SearchController(ISearchActionService search, ICategoryActionService category)
     : base(search, category)
 {
 }
예제 #4
0
 public BaseController(ISearchActionService _search, ICategoryActionService _category)
 {
     this.SearchService = _search; this.CategoryService = _category;
 }
예제 #5
0
 public BaseController(ISearchActionService _search)
 {
     this.SearchService = _search;
 }
예제 #6
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;
 }
예제 #7
0
 public BaseController(IUserActionService _user, IGroupActionService _group, ISearchActionService _search, 
     IUser_Role_ModuleActionService _userrole, IExamineeActionService _examinee)
 {
     this.UserService = _user; this.GroupService = _group;
     this.SearchService = _search;
     this.UserRoleModuleService = _userrole;
     this.ExamineeService = _examinee;
 }