public async Task <ActionResult <DoctorDto> > Get(int id)
        {
            var doctor = await _repository.GetByIdDto(id);

            if (doctor == null)
            {
                return(NotFound());
            }

            return(doctor);
        }