[ArgumentNullException: Value cannot be null.
Parameter name: source]
System.Linq.Queryable.AsQueryable(IEnumerable`1 source) +223
PagedList.PagedList`1..ctor(IEnumerable`1 superset, Int32 pageNumber, Int32 pageSize) +71
PagedList.PagedListExtensions.ToPagedList(IEnumerable`1 superset, Int32 pageNumber, Int32 pageSize) +78
CShopMVC.Controllers.CategoryController.Index(Int32 Id, Int32 Page, Int32 ReturnPartialView, String CatCode, Int32 ResultsPerPage, Int32 SortBy, String TemplatePrefix, Boolean useProductExclusionList, String f1, String f2, String f3, String f4, String f5, String f6, String f7, String f8, String f9, String f10, String f11, String f12, String f13, String f14, String f15, String f16, String f17, String f18, String f19, String f20, String URL, String searchString, Decimal MinPrice, Decimal MaxPrice, Boolean SaveSortBy, Boolean SaveResultsPerPage, String PartialViewtoReturn, Boolean ListOnly, Boolean FilterOnly, Boolean SearchStringIsCodes, String Offercode, Nullable`1 PriceListOnly, Boolean returnJson, Boolean SkipRedirectToOnlyProduct, String Mc, Boolean getFromWishList, Boolean splitByColour, Boolean returnFavouritesList) +14183
lambda_method(Closure , ControllerBase , Object[] ) +6626
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +76
System.Web.Mvc.Async.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +12
System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +70
System.Web.Mvc.Async.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0() +80
System.Web.Mvc.Async.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
System.Web.Mvc.Async.<>c__DisplayClass3_6.<BeginInvokeAction>b__4() +48
System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult) +188
System.Web.Mvc.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +26
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +9
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +9
System.Web.Mvc.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +40
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +480
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +224
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131
|