Session variables have nothing to do with the CRUD, or Entity Framework or any other such process that you have to trigger, they are just
variables (as name states) that one can use to store
session-based data for a client. A CRUD operation is based on objects; specifically in a data source for
CREATING, READING, UPDATING, DELETING the object.
Take an example of session-token, username, and all other user-based data that you want to store but want to get removed as soon as the session ends; browser window closed, user terminates the session, or you find something that should not be going on and you clear the session yourself. In these cases you use the Session variables. They're something like this,
Session["variable_name"] = "My name is Afzaal Ahmad Zeeshan";
Voila! Variable has been created, now to access it, you do the following thing...
if(Session["variable_name"] != null) {
var name = Session["variable_name"];
}
You can use different type of data too; such as struct or class, just cast them. Now I have a question, where do you want to use the Session variable? I don't find any place in your code where you might possibly want to be storing anything at all...
For more on using the Session variable please read the Session variable section in
this article[
^] of mine... And for a background about CRUD you can read
this article[
^] of mine (based on SQL Server). A personal tip would be to not use the Session variables in CRUD operations unless required by design.