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