mirror of
https://github.com/bitwarden/server
synced 2026-01-08 11:33:26 +00:00
update libs and cleanup
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
using System;
|
||||
using Bit.Core.Models.Table;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Bit.Core.Repositories
|
||||
{
|
||||
public interface IRepository<T, TId> where TId : IEquatable<TId> where T : class, IDataObject<TId>
|
||||
public interface IRepository<T, TId> where TId : IEquatable<TId> where T : class, ITableObject<TId>
|
||||
{
|
||||
Task<T> GetByIdAsync(TId id);
|
||||
Task CreateAsync(T obj);
|
||||
|
||||
Reference in New Issue
Block a user