This pull request introduces several key improvements to the calendar functionality within our application. The updates focus on improving event creation and management, particularly in relation to workout plans, while also standardizing the service contracts for better maintainability.
Changes Made
1. Update AddEventAsync in CalendarController
File Download After Event Creation: The AddEventAsync method has been modified to return the actual file for download immediately after an event is created..
Cleanup: Removed previously implemented methods that are no longer necessary, streamlining the codebase.
2. Add WorkoutPlanCalendarEvent Model and Calendar Description Aggregate
New Model Introduction: The WorkoutPlanCalendarEvent model has been introduced to encapsulate all details required for creating events related to workout plans.
Calendar Description Aggregate: Added an aggregate to construct detailed calendar descriptions, enhancing the clarity and usability of calendar events.
3. Define Contracts for ICalendarService
iCalendar Support: Integrated the Ical.Net library to provide robust iCalendar functionality.
Standardized Contracts: Defined contracts for the ICalendarService, ensuring a consistent approach to event management operations across the application.
Event Generation Implementation: Began implementing the AddEventAsync method to generate events based on workout plans, facilitating better integration with workout scheduling.
Overview
This pull request introduces several key improvements to the calendar functionality within our application. The updates focus on improving event creation and management, particularly in relation to workout plans, while also standardizing the service contracts for better maintainability.
Changes Made
1. Update
AddEventAsync
in CalendarControllerAddEventAsync
method has been modified to return the actual file for download immediately after an event is created..2. Add
WorkoutPlanCalendarEvent
Model and Calendar Description AggregateWorkoutPlanCalendarEvent
model has been introduced to encapsulate all details required for creating events related to workout plans.3. Define Contracts for
ICalendarService
Ical.Net
library to provide robust iCalendar functionality.ICalendarService
, ensuring a consistent approach to event management operations across the application.AddEventAsync
method to generate events based on workout plans, facilitating better integration with workout scheduling.