Beispiel #1
0
        public ActionResult Create(EmployeeModel emp)
        {
            int i = obj.SaveEmpInfo(emp);

            if (i > 0)
            {
                return(RedirectToAction("Index"));
            }
            else
            {
                return(View(i));
            }
        }