public OrderService(IMapper mapper, IBookRepository bookRepository, IOrderRepository orderRepository, IHttpContextCurrentUser httpContextCurrentUser) { _mapper = mapper; _orderRepository = orderRepository; _bookRepository = bookRepository; _httpContextCurrentUser = httpContextCurrentUser; }
public AccountService(IMapper mapper, IAccountRepository accountRepository, IHttpContextCurrentUser httpContextCurrentUser) { _mapper = mapper; _accountRepository = accountRepository; _httpContextCurrentUser = httpContextCurrentUser; }