I have two scenarios in my ASP.NET Core 5 WebApi, where I want to update data in a persistent storage in the background.
Pseudocode: