9668ec162d
Introduced a new Event Calendar component that displays scheduled events using the Heron.MudCalendar. Implemented IEventOccurrenceService to fetch event occurrences, and added mock data for initial testing. Updated navigation menu to include a link to the Event Calendar.
18 lines
445 B
C#
18 lines
445 B
C#
using Core.Entities;
|
|
|
|
namespace WebApp.Services;
|
|
|
|
public interface IEventOccurrenceService
|
|
{
|
|
/// <summary>
|
|
/// Gets all event occurrences.
|
|
/// </summary>
|
|
Task<IEnumerable<EventOccurrence>> GetEventOccurrencesAsync();
|
|
|
|
/// <summary>
|
|
/// Gets event occurrences within the specified date range.
|
|
/// </summary>
|
|
Task<IEnumerable<EventOccurrence>> GetEventOccurrencesForDateRangeAsync(DateTime start, DateTime end);
|
|
}
|
|
|