public ActionResult VehicleModelList(int?page, string sort, string direction, string search)
        {
            var sortParameters = new SortParameters()
            {
                Sort = sort, Direction = direction
            };
            var filterParameters = new FilterParameters()
            {
                Search = search
            };
            var pagingParameters = new PageParameters()
            {
                Page = page ?? 1, PageSize = 3
            };
            var vehicleModelList = vehicleModelService.GetVehicleModelPaged(sortParameters, filterParameters, pagingParameters);

            ViewBag.search    = search;
            ViewBag.sort      = sort;
            ViewBag.direction = direction;
            var modelListViewModel = AutoMapper.Mapper.Map <IEnumerable <ModelViewModel> >(vehicleModelList);

            return(View(new StaticPagedList <ModelViewModel>(modelListViewModel, vehicleModelList.GetMetaData())));
        }