8 lines
267 B
C#
8 lines
267 B
C#
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);
|
|
} |