Exemplo n.º 1
0
        public ActionResult UpdateStudent(StudentsVM post)
        {
            using (var ctx = new CSEntities())
            {
                ctx.UpdateStudent(post.HelpID, post.FName, post.LName, post.Phone, post.Email, post.DofB, post.Spec, post.Login, post.Password);

                return(RedirectToAction("Students", "Home"));
            }
        }