Exemplo n.º 1
0
 public DcfFacade(
     IDcfRepository dcfRepository,
     IDCFService dcfService,
     IMapper mapper
     )
 {
     _dcfRepository = dcfRepository ?? throw new ArgumentNullException(nameof(dcfRepository));
     _dcfService    = dcfService ?? throw new ArgumentNullException(nameof(dcfService));
     _mapper        = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Exemplo n.º 2
0
 public DcfProvider(
     IMapper mapper,
     IStocksRepository stocksRepository,
     IStockListService stockListService,
     IDCFService dcfService)
 {
     _mapper           = mapper;
     _stocksRepository = stocksRepository;
     _stockListService = stockListService;
     _dcfService       = dcfService;
 }