Refactored AgeGroup namespace and services, added RegistrationKey functionality.

This commit is contained in:
2026-01-25 21:30:05 +01:00
parent 91dd8d1603
commit ce26a30693
12 changed files with 173 additions and 37 deletions

View 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);
}
}