Hey, im making a .net8 backend + ef core for my project. It's my first time using "advanced" timers and I don' know how to implement it. To begin with I have 3 models:
- Food
- User
- BoostType (modal)
User can use Food to gain boost (from BoostType) for certain amount of time - eg. for 3 min he have +20 health. After this 3min boost should have be gone. How to implement this? Cookies is way to go?