Initial Commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace WyvernInventory.Core.Interfaces.Repos;
|
||||
|
||||
public interface IDbObjectRepo<T>
|
||||
{
|
||||
public Task<List<T>> GetAsync(Predicate<T>? filter = null);
|
||||
public Task<(int created, int updated)> UpsertAsync(List<T> items);
|
||||
public Task DeleteAsync(List<T> items);
|
||||
}
|
||||
Reference in New Issue
Block a user