Mapping + changed Phone to PhoneNumber

This commit is contained in:
Dominic Villemure
2024-06-30 15:48:26 -04:00
parent 90d76c32ce
commit 041b8178ac
5 changed files with 23 additions and 10 deletions

View File

@@ -97,7 +97,7 @@ public class IdentityService(
applicationUser.FirstName = userModel.FirstName;
applicationUser.LastName = userModel.LastName;
applicationUser.Occupation = userModel.Occupation;
applicationUser.PhoneNumber = userModel.Phone;
applicationUser.PhoneNumber = userModel.PhoneNumber;
applicationUser.BirthDate = userModel.BirthDate;
applicationUser.Country = userModel.Country;
applicationUser.City = userModel.City;
@@ -147,7 +147,7 @@ public class IdentityService(
LastName = response.LastName,
Email = response.Email ?? string.Empty,
Occupation = response.Occupation,
Phone = response.PhoneNumber ?? string.Empty,
PhoneNumber = response.PhoneNumber ?? string.Empty,
BirthDate = response.BirthDate,
Country = response.Country,
City = response.City,
@@ -197,7 +197,7 @@ public class IdentityService(
LastName = response.LastName,
Email = response.Email ?? string.Empty,
Occupation = response.Occupation,
Phone = response.PhoneNumber ?? string.Empty,
PhoneNumber = response.PhoneNumber ?? string.Empty,
BirthDate = response.BirthDate,
Country = response.Country,
City = response.City,