public BalanceController(IBalanceControllerService balanceControllerService) { if (balanceControllerService == null) throw new ArgumentNullException(nameof(balanceControllerService)); _balanceControllerService = balanceControllerService; }
public BalanceController(IBalanceControllerService balanceControllerService) { _balanceControllerService = balanceControllerService ?? throw new ArgumentNullException(nameof(balanceControllerService)); }