|
|
@ -30,7 +30,7 @@ public static class UserMappeur
|
|
|
|
Sexe = athleteEntity.Sexe,
|
|
|
|
Sexe = athleteEntity.Sexe,
|
|
|
|
Username = athleteEntity.UserName,
|
|
|
|
Username = athleteEntity.UserName,
|
|
|
|
Weight = athleteEntity.Weight,
|
|
|
|
Weight = athleteEntity.Weight,
|
|
|
|
Lenght = (float)athleteEntity.Length,
|
|
|
|
Length = (float)athleteEntity.Length,
|
|
|
|
ProfilePicture = athleteEntity.ProfilPicture ?? "",
|
|
|
|
ProfilePicture = athleteEntity.ProfilPicture ?? "",
|
|
|
|
IsCoach = athleteEntity.IsCoach
|
|
|
|
IsCoach = athleteEntity.IsCoach
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -52,7 +52,7 @@ public static class UserMappeur
|
|
|
|
DateOfBirth = DateOnly.FromDateTime(user.DateOfBirth),
|
|
|
|
DateOfBirth = DateOnly.FromDateTime(user.DateOfBirth),
|
|
|
|
IsCoach = user.IsCoach,
|
|
|
|
IsCoach = user.IsCoach,
|
|
|
|
Weight = user.Weight,
|
|
|
|
Weight = user.Weight,
|
|
|
|
Length = user.Lenght,
|
|
|
|
Length = user.Length,
|
|
|
|
ProfilPicture = user.ProfilePicture
|
|
|
|
ProfilPicture = user.ProfilePicture
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|