public IActionResult Post(mp_clinician_rating rating) { var user_id = _userManager.GetUserId(HttpContext.User); var profile = _profileService.GetProfileByUserId(user_id); rating.created_by = user_id; rating.client_id = profile.id; _ratingService.AddOrUpdate(rating); return(Ok(200)); }