Exemplo n.º 1
0
 public BaseController(IProductActionService _product, IShoppingCartActionService _shoppingcart)
 {
     this.ProductService = _product;
     this.ShoppingCartService = _shoppingcart;
 }
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;
 }