Esempio n. 1
0
        public async Task <IActionResult> GetById(Guid balanceId)
        {
            var userId  = _userProvider.GetUserId();
            var balance = await _balanceService.GetBalanceByIdAsync(balanceId, userId);

            return(Ok(JsonSerializer.Serialize(balance)));
        }