mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
15 lines
269 B
C#
15 lines
269 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DataAccessLayer
|
|
{
|
|
public interface IRepository<T>
|
|
where T : class
|
|
{
|
|
void Add(T entity);
|
|
T? GetById(Guid id);
|
|
void Update(T entity);
|
|
void Delete(Guid id);
|
|
}
|
|
}
|