public async Task<IActionResult> CheckPendingCalifications() { int userId = GetUserId(); IOperationResult<Meeting> result = await _ratingManager.GetMeetingPendingForRatingForUser(userId); if (!result.Success) { return BadRequest(result.Message); } if (result.Entity == null) return Accepted(); var mapped = _mapper.Map<MeetingSummaryModel>(result.Entity); return Ok(mapped); }