public IActionResult CreatePatient([FromBody] CreatePatientViewModel createPatientViewModel) { var patientDTO = PatientMapper.CreatePatientVMToDTO(createPatientViewModel); _service.Create(patientDTO); return(Ok(ModelState)); }
public IActionResult CreatePatient([FromBody] CreatePatientViewModel createPatientViewModel) { var patientDTO = PatientMapper.CreatePatientVMToDTO(createPatientViewModel); _service.Create(patientDTO); return(Ok(ModelState)); }