mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 02:39:03 +00:00
16 lines
329 B
C#
16 lines
329 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BusinessLayer.Services
|
|
{
|
|
public interface IService<T>
|
|
where T : class
|
|
{
|
|
IEnumerable<T> GetAll(int? limit, int? offset);
|
|
T? GetById(Guid id);
|
|
void Add(T entity);
|
|
void Update(T entity);
|
|
void Delete(Guid id);
|
|
}
|
|
}
|