From bf77dff5efbb6df2134a1d24489d656d933e2ce5 Mon Sep 17 00:00:00 2001 From: Claudio Schaad Date: Fri, 10 Apr 2026 22:40:58 +0200 Subject: [PATCH] feat: add ICalendarService interface and marker interfaces --- Services/ICalendarService.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Services/ICalendarService.cs diff --git a/Services/ICalendarService.cs b/Services/ICalendarService.cs new file mode 100644 index 0000000..d5ce3ce --- /dev/null +++ b/Services/ICalendarService.cs @@ -0,0 +1,15 @@ +using ShiftScheduler.Shared; + +namespace ShiftScheduler.Services; + +public interface ICalendarService +{ + Task> GetCalendarsAsync(); + Task SyncShiftsToCalendarAsync(string calendarId, List shifts); +} + +/// Marker interface for DI disambiguation. +public interface IGoogleCalendarService : ICalendarService { } + +/// Marker interface for DI disambiguation. +public interface INextcloudCalendarService : ICalendarService { }