Exemple #1
0
 public OrderController(ICityDAL _cityDAL, IDistrictDAL _districtDAL, IOrderDAL _orderDAL, IUserDAL _userDAL, IUserTypeDAL _userTypeDAL, IProductDAL _productDAL, IUserAddressDAL _userAddressDAL, IUserCardDAL _userCardDAL, IUserDetailDAL _userDetailDAL, IBasketProductDAL _basketProductDAL)
 {
     basketProductDAL = _basketProductDAL;
     userDetailDAL    = _userDetailDAL;
     userCardDAL      = _userCardDAL;
     userAddressDAL   = _userAddressDAL;
     productDAL       = _productDAL;
     userTypeDAL      = _userTypeDAL;
     orderDAL         = _orderDAL;
     cityDAL          = _cityDAL;
     districtDAL      = _districtDAL;
     userDAL          = _userDAL;
     currentUser      = System.Web.HttpContext.Current.Session["user"] as ETicaret.Model.Models.Entity.User;
 }
Exemple #2
0
 public UserTypeService(IUserTypeDAL userTypeService)
 {
     _userTypeDAL = userTypeService;
 }