This pull request introduces a new feature for managing calendar reminders, along with some minor refactoring and cleanup. The most important changes include adding a new CalendarReminder entity, creating corresponding database migrations, and implementing a new controller for handling calendar reminder operations.
New Feature: Calendar Reminders
Entity Addition:
Added CalendarReminder entity in KinaUna.Data/Models/CalendarReminder.cs to store reminders for calendar events.
Updated ProgenyDbContext to include DbSet<CalendarReminder> for managing calendar reminders.
Database Migrations:
Created migration AddCalendarReminders to add CalendarRemindersDb table in the database.
Updated ProgenyDbContextModelSnapshot to reflect the new CalendarRemindersDb table.
API Endpoints:
Introduced CalendarRemindersController with endpoints for CRUD operations on calendar reminders.
Added CalendarRemindersForUserRequest DTO for filtering reminders.
Refactoring and Cleanup
Code Refactoring:
Moved CalendarService to KinaUnaProgenyApi.Services.CalendarServices and updated references in various controllers. [1][2][3][4]
Cleaned up unused parameters and improved response handling in PublicAccessController. [1][2][3][4]
Updated RunTasksController to use CustomResult for better error handling. [1][2]
Miscellaneous:
Disabled telemetry tracing in Startup.cs for performance improvement.
These changes collectively enhance the application's functionality by adding calendar reminder capabilities and improving code maintainability.
This pull request introduces a new feature for managing calendar reminders, along with some minor refactoring and cleanup. The most important changes include adding a new
CalendarReminder
entity, creating corresponding database migrations, and implementing a new controller for handling calendar reminder operations.New Feature: Calendar Reminders
Entity Addition:
CalendarReminder
entity inKinaUna.Data/Models/CalendarReminder.cs
to store reminders for calendar events.ProgenyDbContext
to includeDbSet<CalendarReminder>
for managing calendar reminders.Database Migrations:
AddCalendarReminders
to addCalendarRemindersDb
table in the database.ProgenyDbContextModelSnapshot
to reflect the newCalendarRemindersDb
table.API Endpoints:
CalendarRemindersController
with endpoints for CRUD operations on calendar reminders.CalendarRemindersForUserRequest
DTO for filtering reminders.Refactoring and Cleanup
Code Refactoring:
CalendarService
toKinaUnaProgenyApi.Services.CalendarServices
and updated references in various controllers. [1] [2] [3] [4]PublicAccessController
. [1] [2] [3] [4]RunTasksController
to useCustomResult
for better error handling. [1] [2]Miscellaneous:
Startup.cs
for performance improvement.These changes collectively enhance the application's functionality by adding calendar reminder capabilities and improving code maintainability.