public PatientDto CreateDto(Patient patientEntity) { return(ObjectCopy.ShallowCopy <PatientDto, Patient>(patientEntity)); }
public Patient CreateEntity(PatientDto patientDto) { return(ObjectCopy.ShallowCopy <Patient, PatientDto>(patientDto)); }