public ActionResult EditCustomer(int Id, string Email, string Password, string First_name, string Last_name, string Address, string Phone, string Date_Birth, string Gender) { ViewBag.ID = Id; CustomerAction.Edit_Customer(Id, Email, First_name, Last_name, Password, Phone, Date_Birth, Gender, Address); RecordAction.Create_Record(CustomerAction.Find_Customer((int)Session["id"]).email, CustomerAction.Find_Customer((int)Session["id"]).email + " update infomation.", DateTime.Now.Date); return(Redirect("~/Customer/Index/" + Session["id"])); }