// // GET: /Books/ public ActionResult Index() { QueryServiceClient queryService = new QueryServiceClient(); var books = queryService.GetBooks(); queryService.Close(); return(View(books.OrderBy(p => p.Title))); }