Files
the-biergarten-app/DataAccessLayer/IRepository.cs
2026-01-13 20:10:39 -05:00

18 lines
327 B
C#

using System;
using System.Collections.Generic;
namespace DataAccessLayer
{
public interface IRepository<T>
where T : class
{
void Add(T entity);
IEnumerable<T> GetAll(int? limit, int? offset);
T? GetById(Guid id);
void Update(T entity);
void Delete(Guid id);
}
}