//
 // 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 { }
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 //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;
 }