public ActionResult GetUserProfile(EditProfileModel editProfileModel)
 {
     if (ModelState.IsValid)
     {
         var user = new User
         {
             LastName = editProfileModel.LastName,
             UserName = editProfileModel.FirstName,
             PhoneNumber = editProfileModel.PhoneNumber,
             Email = editProfileModel.Email,
             Id = editProfileModel.Id,
             Login = editProfileModel.Login,
             Role = (int) RolesEnum.Client,
             Status = (int) UserStatusEnum.Active,
             Password = editProfileModel.Password,
             DriverStatus = null,
         };
         _userBl.UpdateUser(user);
         //Session["UserFullName"] = user.UserName + " " + user.LastName;
         return RedirectToAction("Index", "Home");
     }
     return View(editProfileModel);
 }
 public ActionResult GetUserProfile()
 {
     var user = _userBl.GetUserByLogin(User.Identity.Name);
     var editProfileModel = new EditProfileModel
     {
         Id = user.Id,
         FirstName = user.UserName,
         LastName = user.LastName,
         Login = user.Login,
         PhoneNumber = user.PhoneNumber,
         Email = user.Email,
         Password = user.Password,
         ConfirmPassword = user.Password
     };
     return View(editProfileModel);
 }