public async Task <IActionResult> GetSettlements() { var settlements = await _settlementService.GetSettlementsAsync(CurrentUserId); if (settlements == null) { return(NotFound()); } return(Json(settlements)); }
public async Task <IActionResult> GetSettlements() { var settlements = await _settlementService.GetSettlementsAsync(CurrentUserId); if (settlements == null) { return(NotFound()); } return(Json(settlements)); }