Simple Database + Endpoints
This commit is contained in:
14
API/Repository/AgeGroup/IAgeGroupService.cs
Normal file
14
API/Repository/AgeGroup/IAgeGroupService.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using API.Models.Internal.Altersgruppen;
|
||||
|
||||
namespace API.Repository.AgeGroup
|
||||
{
|
||||
public interface IAgeGroupService
|
||||
{
|
||||
public Task<List<AltersGruppe>> GetAllAsync();
|
||||
|
||||
public Task<AltersGruppe?> GetAsync(int id);
|
||||
public Task<AltersGruppe> CreateAsync(AltersGruppe altersGruppe);
|
||||
public Task<AltersGruppe?> DeleteAsync(int id);
|
||||
public Task<AltersGruppe?> UpdateAsync(int id, AltersGruppe altersGruppe);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user