mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-02 01:33:23 +00:00
15 lines
740 B
C#
15 lines
740 B
C#
|
|
using SeaHaven.Services.DTOs;
|
||
|
|
|
||
|
|
namespace SeaHaven.Services.Interfaces
|
||
|
|
{
|
||
|
|
public interface ICalendarService
|
||
|
|
{
|
||
|
|
Task CreateEventAsync(EditEventInput input, CancellationToken cancellationToken);
|
||
|
|
Task<bool> UpdateEventAsync(EditEventInput input, CancellationToken cancellationToken);
|
||
|
|
Task<EventDTO?> GetEventByIdAsync(int id, CancellationToken cancellationToken);
|
||
|
|
Task<bool> DeleteEventAsync(int id, CancellationToken cancellationToken);
|
||
|
|
Task<PagedEventsResult> GetEventListAsync(string? search, int page, int pageSize, CancellationToken cancellationToken);
|
||
|
|
Task<IEnumerable<EventDTO>> GetEventsForCalendarAsync(DateTime? start, DateTime? end, CancellationToken cancellationToken);
|
||
|
|
}
|
||
|
|
}
|