Ejemplo n.º 1
0
 public OrderService(IMapper mapper, IBookRepository bookRepository, IOrderRepository orderRepository, IHttpContextCurrentUser httpContextCurrentUser)
 {
     _mapper                 = mapper;
     _orderRepository        = orderRepository;
     _bookRepository         = bookRepository;
     _httpContextCurrentUser = httpContextCurrentUser;
 }
Ejemplo n.º 2
0
 public AccountService(IMapper mapper, IAccountRepository accountRepository, IHttpContextCurrentUser httpContextCurrentUser)
 {
     _mapper                 = mapper;
     _accountRepository      = accountRepository;
     _httpContextCurrentUser = httpContextCurrentUser;
 }