mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-06-01 01:54:00 +00:00
12 lines
347 B
C#
12 lines
347 B
C#
using Domain.Entities;
|
|
|
|
namespace Infrastructure.Repository.Breweries;
|
|
|
|
public interface IBreweryRepository
|
|
{
|
|
Task<BreweryPost?> GetByIdAsync(Guid id);
|
|
Task<IEnumerable<BreweryPost>> GetAllAsync(int? limit, int? offset);
|
|
Task UpdateAsync(BreweryPost brewery);
|
|
Task DeleteAsync(Guid id);
|
|
Task CreateAsync(BreweryPost brewery);
|
|
} |