Entfernt das DataContracts-Projekt. Guid-Attribut umbenannt in Id mit Column-Attribut für jede Entität und dto.

This commit is contained in:
Developer 02
2024-06-17 09:36:57 +02:00
parent b5bbfc9270
commit f84a719dd4
54 changed files with 31 additions and 506 deletions

View File

@@ -49,7 +49,7 @@ namespace DigitalData.UserManager.Application.Services
{
var user = _mapper.MapOrThrow<User>(upDto);
if (await HasEntity(user.Guid))
if (await HasEntity(user.Id))
return Result.Fail<int>().Message(_localizer[Key.UserAlreadyExists]);
var createdUser = await _repository.CreateAsync(user);