ExperienceLevel Finished (API) 09/10
This commit is contained in:
@@ -17,6 +17,8 @@ public class GetAllExperienceLevelsEndpoint(PyroFetesDbContext pyroFetesDbContex
|
||||
List<GetExperienceLevelDto> experienceLevels= await pyroFetesDbContext.ExperienceLevels.Select(x => new GetExperienceLevelDto()
|
||||
{
|
||||
Id = x.Id,
|
||||
Label = x.Label,
|
||||
|
||||
}).ToListAsync(ct);
|
||||
|
||||
await Send.OkAsync(experienceLevels, ct);
|
||||
|
||||
Reference in New Issue
Block a user