public IActionResult ViewProfile(UserProfile profile)
 {
     UserExtensions.UpdateUserProfile(_userRepository, profile);
     return(Ok());
 }