feat: add ICalendarService interface and marker interfaces

This commit is contained in:
Claudio Schaad 2026-04-10 22:40:58 +02:00
parent b72e9b073c
commit bf77dff5ef

View file

@ -0,0 +1,15 @@
using ShiftScheduler.Shared;
namespace ShiftScheduler.Services;
public interface ICalendarService
{
Task<List<CalendarInfo>> GetCalendarsAsync();
Task SyncShiftsToCalendarAsync(string calendarId, List<ShiftWithTransport> shifts);
}
/// <summary>Marker interface for DI disambiguation.</summary>
public interface IGoogleCalendarService : ICalendarService { }
/// <summary>Marker interface for DI disambiguation.</summary>
public interface INextcloudCalendarService : ICalendarService { }