1
0
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:
Kyle Spearrin
2017-07-14 09:05:15 -04:00
parent 5786be651e
commit 5a4bfe4e61
24 changed files with 32 additions and 806 deletions

View File

@@ -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);