Esempio n. 1
0
        public ActionResult Create(Division division)
        {
            try
            {
                // TODO: Add insert logic here

                DivisionRepo divisionRepo = new DivisionRepo();
                string       msg          = divisionRepo.InsertDivision(division);
                return(RedirectToAction("Index"));
            }
            catch
            {
                return(View());
            }
        }