public async Task <IActionResult> GetContentDetail(Guid Id) { var userIdStr = User.Claims?.FirstOrDefault(x => x.Type == "OryxUser")?.Value; ContentEntry apiMsg; if (!string.IsNullOrEmpty(userIdStr)) { apiMsg = await contentBusiness.GetContentByIdSetLog(Id, userIdStr); } else { apiMsg = await contentBusiness.GetContentById(Id); } return(Json(apiMsg)); }