public RmaService(IRMARepository repository, IRmaDetailRepository rmaDetailRepository, IRmaCommentRepository rmaCommentRepository, IConnectProduct connectProduct, ISaleRMARepository saleRmaRepository, IStockRepository stockRepository, IAccountService accountService) : base(repository) { _rmaRepository = repository; _rmaDetailRepository = rmaDetailRepository; _rmaCommentRepository = rmaCommentRepository; _connectProduct = connectProduct; _saleRmaRepository = saleRmaRepository; _stockRepository = stockRepository; _accountService = accountService; }
public SaleRMAService(ISaleRMARepository saleRmaRepository, ISaleDetailRepository saleDetailRepository, ISaleRepository saleRepository, IOrderItemRepository orderItemRepository, IRmaDetailRepository rmaDetailRepository, ISectionRepository sectionRepository, IRMARepository rmaRepository, ISaleRmaCommentRepository saleRmaCommentRepository, IAccountService accountService) : base(saleRmaRepository) { _saleDetailRepository = saleDetailRepository; _saleRepository = saleRepository; _orderItemRepository = orderItemRepository; _rmaDetailRepository = rmaDetailRepository; _sectionRepository = sectionRepository; _rmaRepository = rmaRepository; _saleRmaCommentRepository = saleRmaCommentRepository; }