using Data.SeaHavenIndustries; namespace SeaHaven.DataServices.Interfaces { public interface IPMScheduleDataService { Task GetByIdAsync(int id); Task GetByIdWithDetailsAsync(int id); Task> GetAllAsync(); Task> GetAllWithDetailsAsync(); Task> GetByLocationIdAsync(int locationId); Task<(IEnumerable Items, int TotalCount)> GetPagedAsync(int page, int pageSize, string? search = null); Task AddAsync(PMSchedules pmSchedule); Task UpdateAsync(PMSchedules pmSchedule); Task DeleteAsync(int id); Task ExistsAsync(int id); Task CountAsync(); } }