21 lines
359 B
C#
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
|
|
}
|
|
} |