public IActionResult EditProfile(ProfilViewModel profilViewModel) { if (!ModelState.IsValid) { return(View(profilViewModel)); } else { _userlogin.SetProfile(profilViewModel); return(RedirectToAction("Index")); } }