public IActionResult UpdateDoctor([FromBody] doctorDTO update)
        {
            var updactor = _mapper.Map <Doctors>(update);

            _ClinicRep.updateDoctor(updactor);
            return(Ok(update));
        }
        public IActionResult AddDoctor([FromBody] doctorDTO add)
        {
            var newdoctor = _mapper.Map <Doctors>(add);

            _ClinicRep.addDoctor(newdoctor);
            return(Ok(add));
        }