Exemplo n.º 1
0
        public async Task <ActionResult <Patient> > GetPatient(int id)
        {
            var results = await _repository.GetById(id);

            var item = _mapper.Map <PatientDto>(results);

            return(Ok(item));
        }