public PsychologistVO Update(PsychologistVO psychologist) { var psychologistEntity = _converter.Parse(psychologist); psychologistEntity = _repository.Update(psychologistEntity); return(_converter.Parse(psychologistEntity)); }
public IActionResult Put([FromBody] PsychologistVO psychologist) { if (psychologist == null) { return(BadRequest()); } return(Ok(_psychologistBusiness.Update(psychologist))); }