public CartController(ISessionAppService sessionAppService, OrdersAppService ordersAppService, UserAppService userAppService, OrdersHistoryAppService ordersHistoryAppService) { _ordersAppService = ordersAppService; _userAppService = userAppService; _ordersHistoryAppService = ordersHistoryAppService; _user = sessionAppService.GetCurrentLoginInformations().Result.User; _inputSearch = new InputSearch { ClientId = _user.Id }; _userDto = new UserDto { Id = _user.Id }; }
/// <summary> /// Constructor /// </summary> public BoostingController(OrdersAppService ordersAppService, OrdersHistoryAppService ordersHistoryAppService) { _ordersAppService = ordersAppService; _ordersHistoryAppService = ordersHistoryAppService; }