Example #1
0
        public ActionResult Results()
        {
            var        model      = Session["UniversityModel"] as UniversitiesModel;
            grabFromDB grabFromDB = new grabFromDB();

            List <Result> results = grabFromDB.getSearchTitles(model.Title, model.Department, model.Code, model.University);

            ViewBag.Textbooklist = results;

            return(View("Results"));
        }