Exemplo n.º 1
0
        public ActionResult PracView(PracModel pracModel)
        {
            if (ModelState.IsValid)
            {
                prac.PracFunctionCall(pracModel);
                // going back to index if form was filled out correctly
                return(RedirectToAction("Index"));
            }

            return(View());
        }
Exemplo n.º 2
0
 //empty function just for practice creation
 public void PracFunctionCall(PracModel prac)
 {
     return;
 }