2021-05-03 18:15:26 +02:00
|
|
|
|
using System.Collections.Generic;
|
2021-05-03 16:48:32 +02:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace HanyadikHetVan.Interface
|
|
|
|
|
{
|
|
|
|
|
public interface IRepository<T>
|
|
|
|
|
{
|
|
|
|
|
public Task<T> Create(T _object);
|
|
|
|
|
|
|
|
|
|
public void Update(T _object);
|
|
|
|
|
|
|
|
|
|
public IEnumerable<T> GetAll();
|
|
|
|
|
|
|
|
|
|
public T GetById(int Id);
|
|
|
|
|
|
|
|
|
|
public void Delete(T _object);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|