|
@ -17,6 +17,7 @@ namespace CoviDok.Data.Model |
|
|
LastName = doctor.LastName; |
|
|
LastName = doctor.LastName; |
|
|
Email = doctor.Email; |
|
|
Email = doctor.Email; |
|
|
ImageId = doctor.ImageId; |
|
|
ImageId = doctor.ImageId; |
|
|
|
|
|
Phone = Phone; |
|
|
} |
|
|
} |
|
|
public PublicDoctor ToPublic() |
|
|
public PublicDoctor ToPublic() |
|
|
{ |
|
|
{ |
|
@ -27,7 +28,8 @@ namespace CoviDok.Data.Model |
|
|
Email = Email, |
|
|
Email = Email, |
|
|
ImageId = ImageId, |
|
|
ImageId = ImageId, |
|
|
Id = Id, |
|
|
Id = Id, |
|
|
Role = Api.Role.Doc |
|
|
Role = Api.Role.Doc, |
|
|
|
|
|
Phone = Phone |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|