public ActionResult PasEdit(Customer customer, int id)
        {
            if (ModelState.IsValid)
            {
                bool res = cust.ChangePas(customer, id);
                if (res)
                {
                    ViewBag.res = "Successfully Edited";
                }

                //var cust = new Customer() { CustomerId = id, Password = customer.Password };
                //db.Customers.Attach(cust);
                //db.Entry(cust).Property(x => x.Password).IsModified = true;
                //await db.SaveChangesAsync();
                return(RedirectToAction("CustomerHome", "HMSCustomer"));
            }
            return(View(customer));
        }