using Data.SeaHavenIndustries; namespace SeaHaven.DataServices.Interfaces { public interface ICalendarDataService { Task GetEventByIdAsync(int id, CancellationToken cancellationToken); Task GetEventForEditAsync(int id, CancellationToken cancellationToken); Task AddEventAsync(Events ev, CancellationToken cancellationToken); Task UpdateEventAsync(Events ev, CancellationToken cancellationToken); Task<(IEnumerable Items, int TotalCount)> GetEventListPagedAsync(int page, int pageSize, string? search, CancellationToken cancellationToken); Task> GetEventsForCalendarAsync(DateTime? start, DateTime? end, CancellationToken cancellationToken); } }