public ActionResult ChangeProfile(UserProfileVM model) { var result = repository.ChangeProfile(model); if (result > 0) { UpdateClaims(model); } return(JsonNet(result)); }