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