using System; using System.Collections.Generic; using System.Threading.Tasks; using LCU.API.Collections.RepoApi.Models; using LCU.Shared.Collections.RepoApiLib.Models; namespace LCU.API.Collections.RepoApi.Services { public interface IEventAlertService { Task> ListAll(); Task> ListUnread(); Task> ListActionNeeded(); Task> ListWithinDateRange(DateTime start, DateTime end); Task Get(int id); Task SaveAsync(EventAlert eventAlert); Task> SaveRangeAsync(List eventAlerts); Task UpdateAsync(EventAlert eventAlert, AppUser user); Task DeleteAsync(int id); Task> MarkAllAsRead(string eventAlert); } }