The way we are going to be able to create reminders is using "actions". Each action will be a function that interacts with whatever we have as a storage mechanism (Has to be abstracted).
For querying data that will be the same.
The pattern is similar to CQRS (Command Query Responsibility Segregation).
This can fit nicely, we have action functions to CUD (Create/Update/Delete) and query functions fetching the data. (With a generic DTO behind the scenes called Reminder, but when calling an action the data passed would be a CreateReminderData)
The way we are going to be able to create reminders is using "actions". Each action will be a function that interacts with whatever we have as a storage mechanism (Has to be abstracted).
For querying data that will be the same.
The pattern is similar to CQRS (Command Query Responsibility Segregation). This can fit nicely, we have action functions to CUD (Create/Update/Delete) and query functions fetching the data. (With a generic DTO behind the scenes called Reminder, but when calling an action the data passed would be a CreateReminderData)