Files
SkydiveLogs/Back/skydiveLogs-api.DomainService/Repositories/IRepository.cs
Sébastien André 0d136a938a Auto clean code
2021-04-22 23:31:08 +02:00

19 lines
334 B
C#

using System.Collections.Generic;
namespace skydiveLogs_api.DomainService.Repositories
{
public interface IRepository<T>
{
#region Public Methods
int Add(T newEntity);
IEnumerable<T> GetAll();
T GetById(int id);
bool Update(T updated);
#endregion Public Methods
}
}