Update to Onion Architecture.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.DomainService.Repositories
|
||||
{
|
||||
public interface IRepository<T>
|
||||
{
|
||||
IEnumerable<T> GetAll();
|
||||
|
||||
T GetById(int id);
|
||||
|
||||
bool Update(T updated);
|
||||
|
||||
bool Add(T newEntity);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user