Initial commit carried over from private repo. This is V2.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using MessengerApi.Db.Contracts.Entities;
|
||||
|
||||
namespace MessengerApi.Db.Contracts.Repositories
|
||||
{
|
||||
public interface IRepository
|
||||
{
|
||||
}
|
||||
|
||||
public interface IRepository<T> : IRepository where T : class, IEntity<T>
|
||||
{
|
||||
void Add(T entity);
|
||||
|
||||
T GetById(Guid id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user