Files
JudoWeb/API/Repository/AgeGroup/IAgeGroupService.cs
Jonas aacd8b7d96 Change AgeGroup ID type from int to string and add migration
Refactored AgeGroupController, AgeGroupService, and IAgeGroupService to use string IDs instead of int. Added initial Entity Framework migration and database files to support AltersGruppe with string primary key.
2025-12-07 20:32:49 +01:00

15 lines
465 B
C#

using API.Models.Internal.Altersgruppen;
namespace API.Repository.AgeGroup
{
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);
}
}