public async Task <IActionResult> ChangeProviderStatus(long id) { string userId = HttpContext.User.Claims.FirstOrDefault(c => c.Type == "user_id").Value; string fullname = HttpContext.User.Claims.FirstOrDefault(c => c.Type == "fullname").Value; return(Ok(await _iProviderRepository.ChangeProviderStatus(Convert.ToInt64(userId), id, fullname))); }