示例#1
0
 public WalletsAppService(WalletsService walletsService, TransactionsService transactionsService, TransactionCategoriesService categoriesService)
 {
     _walletsService      = walletsService ?? throw new ArgumentNullException(nameof(walletsService));
     _transactionsService = transactionsService ?? throw new ArgumentNullException(nameof(transactionsService));
     _categoriesService   = categoriesService ?? throw new ArgumentNullException(nameof(categoriesService));
 }
 public TransactionCategoriesController(TransactionCategoriesService service)
 {
     _service = service ?? throw new ArgumentNullException(nameof(service));
 }