Files
SkydiveLogs/Back/skydiveLogs-api.DomainService/Repositories/IRepository.cs
2021-03-01 20:33:00 +01:00

15 lines
268 B
C#

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