Files
SkydiveLogs/Back/skydiveLogs-api.DomainService/Repositories/IRepository.cs
2022-05-08 16:42:04 +02:00

21 lines
359 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);
int GetCount();
bool Update(T updated);
#endregion Public Methods
}
}