Mapping + changed Phone to PhoneNumber
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user