Esempio n. 1
0
        public ActionResult AddGroup(AdminHomeVM vm)
        {
            InsertDAL insert = new InsertDAL();

            insert.OpenConnection();

            insert.InsertGroup(vm.NewGroup);

            insert.CloseConnection();

            return(RedirectToAction("Index"));
        }