public TransactionsController(IFamilyBudgetRepository transactionRepository, IMapper mapper)
 {
     _transactionRepository = transactionRepository ?? throw new ArgumentNullException(nameof(transactionRepository));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Beispiel #2
0
 public CategoryController(IFamilyBudgetRepository transactionRepository, IMapper mapper)
 {
     _transactionRepository = transactionRepository;
     _mapper = mapper;
 }