Adding
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using LCU.API.Internal.RepoApi.Repos.Models;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Repositories
|
||||
{
|
||||
public interface IEventAlertRepository
|
||||
{
|
||||
Task<IEnumerable<EventAlert>> ListAllAsync();
|
||||
Task<IEnumerable<EventAlert>> ListUnreadAsync();
|
||||
Task<IEnumerable<EventAlert>> ListWithinDateRangeAsync(DateTime start, DateTime end);
|
||||
Task<IEnumerable<EventAlert>> ListRepoNoAuctionAsync();
|
||||
Task<IEnumerable<EventAlert>> ListRepoNoCompanyAsync();
|
||||
Task<IEnumerable<EventAlert>> ListO4rNoCompanyAsync();
|
||||
Task<IEnumerable<EventAlert>> ListReadyForRetitleAsync();
|
||||
Task<IEnumerable<EventAlert>> ListFloorUpdateFailedAsync();
|
||||
Task<IEnumerable<EventAlert>> ListFloorNeedsSettingAsync();
|
||||
Task<IEnumerable<EventAlert>> ListUnreadByAccountNoAsync(string accountNo);
|
||||
Task AddAsync(EventAlert eventAlert);
|
||||
Task<IEnumerable<EventAlert>> AddRangeAsync(IEnumerable<EventAlert> eventAlerts);
|
||||
Task<EventAlert> FindByIdAsync(int id);
|
||||
void Update(EventAlert eventAlert);
|
||||
void Remove(EventAlert eventAlert);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user