* Added Logo to the output file

This commit is contained in:
2025-10-01 14:42:58 +02:00
parent 8cfded48ae
commit 9163f330aa
5 changed files with 30 additions and 5 deletions

View File

@@ -10,4 +10,10 @@ public class WzClientService(SytelineSaAppDbContext context, IMapper mapper) : I
{
return await context.WzClients.Select(x => mapper.Map<WzClientDto>(x)).ToListAsync();
}
public async Task<WzClientDto?> GetById(Guid id)
{
var entity = await context.WzClients.FirstOrDefaultAsync(x => x.ID == id);
return entity == null ? null : mapper.Map<WzClientDto>(entity);
}
}