public async Task <IActionResult> CheckIfUserUpdateInfo() { var userId = GetUserId(); try { await _userInformationService.CheckInitializedInfo(userId); } catch (ObjectNotFoundException e) { await _userInformationService.AddWithEmptyInfo(userId, ""); await _unitOfWork.Commit(); } var completedInfoPercentage = await _userInformationService.GetPercentageOfCompletedInfo(userId); var isHavingLevel = await _userInformationService.CheckIfUserHaveSpecification(m => m.UserId == userId && m.Level != null); return(Ok(new { completedInfoPercentage, isHavingLevel })); }