public ActionResult ChangePassword(Profile profile)
        {
            var id = Session["idUser"];

            if (id != null)
            {
                if (ModelState.IsValid)
                {
                    var a = product.ChangePassword(Convert.ToInt32(id), profile.password.CurrentPassword, profile.password.NewPassword);
                    if (a != null)
                    {
                        TempData["ChangePassword"]  = a;
                        TempData["CurrentPassword"] = "";
                        return(RedirectToAction("Index"));
                    }
                    else
                    {
                        TempData["CurrentPassword"] = "******";
                        return(RedirectToAction("Index"));
                    }
                }
                else
                {
                    return(RedirectToAction("Index"));
                }
            }


            return(RedirectToAction("Index"));

            ;
        }