Files
SkydiveLogs/Back/skydiveLogs-api.Data/Interface/IRepository.cs
2019-12-05 08:29:11 +01:00

15 lines
256 B
C#

using System.Collections.Generic;
namespace skydiveLogs_api.Data.Interface
{
public interface IRepository<T>
{
IEnumerable<T> GetAll();
T GetById(int id);
bool Update(T updated);
bool Add(T newEntity);
}
}