pull/10/head
David D'ALMEIDA 1 year ago
parent cbc961d0e2
commit d61ec723b2

@ -13,7 +13,7 @@ public class UserTinyDto
public required string FirstName { get; set; }
public required string Email { get; set; }
public required char Sexe { get; set; }
public float Lenght { get; set; }
public float Length { get; set; }
public float Weight { get; set; }
public string? Password { get; set; }
public DateTime DateOfBirth { get; set; }

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

Loading…
Cancel
Save