using System; using System.Collections.Generic; using System.Threading.Tasks; using LCU.Shared.Collections.RepoApiLib.Models; namespace LCU.Shared.Collections.RepoApiLib.Repositories { public interface IEventAlertRepository { Task> ListAllAsync(); Task> ListUnreadAsync(); Task> ListWithinDateRangeAsync(DateTime start, DateTime end); Task> ListRepoNoAuctionAsync(); Task> ListRepoNoCompanyAsync(); Task> ListO4rNoCompanyAsync(); Task> ListReadyForRetitleAsync(); Task> ListFloorUpdateFailedAsync(); Task> ListFloorNeedsSettingAsync(); Task> ListUnreadByAccountNoAsync(string accountNo); Task AddAsync(EventAlert eventAlert); Task> AddRangeAsync(IEnumerable eventAlerts); Task FindByIdAsync(int id); void Update(EventAlert eventAlert); void Remove(EventAlert eventAlert); } }