Ejemplo n.º 1
0
        public ActionResult Create(AuthorModel Authobj)
        {
            int i = db.SaveAuthors(Authobj);

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