I need to develop a simple ASP.NET application that allows to display client orders in the restaurant, add and remove orders from the table. The problem I have is that I was instructed to not use any database and store all the data in memory (session) as long as application is running.
I am a beginner in C# and ASP.NET and it's hard for me to figure out how to do that without actual database (I had experience with Java and Spring MVC, but I was only making applications with database so I dont have any experience in making web apps that saves the data in memory).
No matter how I think about it if I create a new order and add it to the list in a view that has adding order form, how can I make sure that the same List I created will be displayed after I move to the view that displays the list. It's a different controller so it doesn't seem like it's going to have access to the List object I created in another controller. Is there anything I can do to solve this problem?