Error.

An error occurred while processing your request.

Error Details:

Message: ProductList Error: Value cannot be null. (Parameter 'value')

Stack Trace
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at UI.Controllers.HomeController.ProductList(Int32 subCategoryId, String priceTag, String code) in C:\Users\Onue\Desktop\canli menu\samba\samba\UI\Controllers\HomeController.cs:line 386

Request ID: 00-0927cd94d3d488f7a7c0a3bfa9b5b12f-a8e172e2f11623ef-00

Development Mode

Swapping to Development environment will display more detailed information about the error that occurred.

The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app.