Exemplo n.º 1
0
        // GET: Display
        public ActionResult Index(string id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            List <proc_GetTitlesUsingAuthor_Result> titles = db.proc_GetTitlesUsingAuthor(id).ToList();

            return(View(titles));
        }