public async Task <IActionResult> DoctorGet(string id, [FromQuery] string patientId)
        {
            //doctor verification.
            if (string.IsNullOrEmpty(id))
            {
                return(BadRequest());
            }

            var doctor_query = await _prescriptions.DocPerscriptions(id, patientId);

            return(Ok(doctor_query));
        }