// // GET: /Administrator/OrderManagement/ public OrderManagementController(IOrderActionService order,IOrderDetailActionService orderdetail, IUserActionService user, IProductActionService product) : base(order,orderdetail,user,product) { try { Permission = ListPermission.FirstOrDefault(c => c.Module.Equals(Helper.ValueDefine.ORDER)).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(IProductActionService _product) { this.ProductService = _product; }
public BaseController(IProductActionService _product, IShoppingCartActionService _shoppingcart) { this.ProductService = _product; this.ShoppingCartService = _shoppingcart; }
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,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; }
//for Order +++ NTT +++ public BaseController(IOrderActionService _order, IOrderDetailActionService _orderdetail, IUserActionService _user ,IProductActionService _product) { this.OrderService = _order; this.OrderDetailService = _orderdetail; this.UserService = _user; this.ProductService = _product; }