Ejemplo n.º 1
0
        public ActionResult MergeAction(int id)
        {
            authorControl = new AuthorController();

            if (id > 0)
            {
                return(RedirectToAction("MergeAction", "Author", new { id = id }));
            }
            else
            {
                return(RedirectToAction("Search", "Home"));
            }
        }
Ejemplo n.º 2
0
        public ActionResult AuthorProfile(int id)
        {
            authorControl = new AuthorController();

            if (id > 0)
            {
                return(RedirectToAction("AuthorProfile", "Author", new { id = id }));
            }
            else
            {
                return(RedirectToAction("Login", "Home"));
            }
        }