//
 // GET: /Administrator/ManufacturerManagement/
 public ManufacturerManagementController(IManufacturerActionService manufacturer, IConfigurationActionService config)
     : base(manufacturer, config)
 {
     try
     {
         Permission = ListPermission.FirstOrDefault(c => c.Module.Equals(Helper.ValueDefine.MANUFACTURER)).Role;
     }
     catch { }
 }
 //
 // GET: /Administrator/Category/
 public CategoryManagementController(ICategoryActionService category, IConfigurationActionService config)
     : base(category, config)
 {
     try
     {
         Permission = ListPermission.FirstOrDefault(c => c.Module.Equals(Helper.ValueDefine.CATEGORY)).Role;
     }
     catch { }
 }
 //
 // 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/ArticleManagement/
 public ArticleManagementController(IArticleActionService _article, IUserActionService _user, IConfigurationActionService _config)
     : base(_article, _user, _config)
 {
     try
     {
         Permission = ListPermission.FirstOrDefault(c => c.Module.Equals(Helper.ValueDefine.ARTICLE)).Role;
     }
     catch { }
 }
 //
 // GET: /Administrator/ProductAttributeManagement/
 public ProductAttributeManagementController(IProductAttributeActionService _productattribute,
     IConfigurationActionService _config)
     : base(_productattribute,_config)
 {
     try
         {
             Permission = ListPermission.FirstOrDefault(c => c.Module.Equals(Helper.ValueDefine.PRODUCTATTRIBUTE)).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 { }
 }
Ejemplo n.º 7
0
 public BaseController(IConfigurationActionService _service, IEmailTemplateActionService _email)
 {
     this.ConfigurationService = _service; this.EmailTemplateService = _email;
 }
Ejemplo n.º 8
0
 public BaseController(IArticleActionService _article, IUserActionService _user, IConfigurationActionService _config
     )
 {
     this.ArticleService = _article; this.UserService = _user;
     this.ConfigurationService = _config;
 }
Ejemplo n.º 9
0
 public BaseController(IProductAttributeActionService _productattribute, IConfigurationActionService _config
     )
 {
     this.ProductAttribute = _productattribute;
     this.ConfigurationService = _config;
 }
Ejemplo n.º 10
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;
 }
Ejemplo n.º 11
0
 public BaseController(IManufacturerActionService _manufacturer, IConfigurationActionService _config)
 {
     this.ManufacturerService = _manufacturer;
     this.ConfigurationService = _config;
 }
Ejemplo n.º 12
0
 public BaseController(ICategoryActionService _category, IConfigurationActionService _config)
 {
     this.CategoryService = _category; this.ConfigurationService = _config;
 }
Ejemplo n.º 13
0
 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: /Category/
 public CategoryController(ICategoryActionService _category, IConfigurationActionService _config)
     : base(_category, _config)
 {
 }
Ejemplo n.º 15
0
 //
 // GET: /Home/
 public HomeController(IUserActionService _user, IProvinceActionService _province,
     IEmailListActionService _emaillist, IExamineeActionService examinee, IConfigurationActionService config)
     : base(_user, _province, _emaillist, examinee, config)
 {
 }
 //
 // GET: /Article/
 public ArticleController(IArticleActionService _article, IUserActionService _user, IConfigurationActionService _config)
     : base(_article, _user,_config)
 {
 }