Exemplo n.º 1
0
 public PrintingEditionService(ApplicationContext context, IAuthorInPrintingEditionsRepository authorInPrintingEditionsRepository, IAuthorRepository authorRepository, IPrintingEditionsRepository printingEditionsRepository, ICoverRepository coverRepository)
 {
     _context = context;
     _authorInPrintingEditionsRepository = authorInPrintingEditionsRepository;
     _authorRepository           = authorRepository;
     _printingEditionsRepository = printingEditionsRepository;
     _coverRepository            = coverRepository;
 }
Exemplo n.º 2
0
 public OrdersService(IOrderRepository orderRepository, IPrintingEditionsRepository printingEditionsRepository,
                      IOrderItemRepository orderItemRepository, UserManager <User> userManager, IPaymentService paymentService)
 {
     _orderRepository            = orderRepository;
     _printingEditionsRepository = printingEditionsRepository;
     _orderItemRepository        = orderItemRepository;
     _userManager    = userManager;
     _paymentService = paymentService;
 }