Storing data between requests in dbcontext
问题 I have a page with server side rendering using razor, where you can add a couple of elements from different lists, fill some fields and create a request from it on submit. Each time an item is added/taken from any list, I send a post with submit button to a specific action, e.g. "CustomerSelected". I do this, because I need to recreate additional view components for the added item. In these methods I would like to add added objects to the db context, so on submit I can just say SaveChanges()