Пример #1
0
        public async Task <IActionResult> GetSettlements()
        {
            var settlements = await _settlementService.GetSettlementsAsync(CurrentUserId);

            if (settlements == null)
            {
                return(NotFound());
            }

            return(Json(settlements));
        }