public bool DeleteDoctor(DoctorDto doctor)
        {
            var entity = mDTOMapper.Map(doctor);

            return(mDoctorRepository.Delete(entity));
        }
        public void AddNewDoctor(DoctorDto doctor)
        {
            var entity = mDTOMapper.Map(doctor);

            mDoctorRepository.AddNew(entity);
        }
 public Doctor Map(DoctorDto doctor)
 => mMapper.Map <Doctor>(doctor);