Ejemplo n.º 1
0
        public ActionResult Index(string sortOrder, string searchString, int?page)
        {
            BaseMakeVehicleService makes = new VehicleMakeService();
            var makesToDisplay           = makes.Index(sortOrder, searchString, page);

            return(View(makesToDisplay.ToPagedList(page ?? 1, 5)));
        }