I am receiving the following error, how would I resolve this in MVC ASP Core 2 ?
The name 'Session' does not exist in the current context.
Session.Remove(_currentProductResult);
Other Codes
Session[_currentProductResult] = currentProductResult;
Error:
The name 'Session' does not exist in the current context
Should I go with Version or something else in Intellisense? Sometimes Intellisense can be incorrect.
This resource is for older projects.