public PatientVO Update(PatientVO patient) { var patientEntity = _converter.Parse(patient); patientEntity = _repository.Update(patientEntity); return(_converter.Parse(patientEntity)); }
public IActionResult Put([FromBody] PatientVO patient) { if (patient == null) { return(BadRequest()); } return(Ok(_patientBusiness.Update(patient))); }