public IActionResult GetBySpecialty(int specialtyId)
        {
            if (specialtyId <= 0)
            {
                return(BadRequest("Bad specialty."));
            }
            var doctors       = _doctorService.GetBySpecialty(specialtyId);
            var doctorDtoList = DoctorMapper.ObjectToDto(doctors);

            doctorDtoList.ToList().ForEach(dto => dto.SpecialtyId = specialtyId);
            return(Ok(doctorDtoList));
        }