Update to Onion Architecture.

This commit is contained in:
Sébastien André
2021-03-01 20:33:00 +01:00
parent e0c41131cc
commit 9341bb284e
70 changed files with 222 additions and 202 deletions

View File

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