feat: add ICalendarService interface and marker interfaces
This commit is contained in:
parent
b72e9b073c
commit
bf77dff5ef
1 changed files with 15 additions and 0 deletions
15
Services/ICalendarService.cs
Normal file
15
Services/ICalendarService.cs
Normal 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 { }
|
||||||
Loading…
Reference in a new issue