Esempio n. 1
0
        public IActionResult Create(Instructor model)
        {
            if (ModelState.IsValid)
            {
                Svc.CreateInstructor(model);
                Svc.Commit();
                return(RedirectToAction("Index"));
            }

            return(View(model));
        }