Exemple #1
0
        public void AddNewDoctor(DoctorDto doctor)
        {
            var entity = mDtoMapper.Map(doctor);

            mDoctorRepository.AddNew(entity);
        }
Exemple #2
0
        public bool DeleteDoctor(DoctorDto doctor)
        {
            var entity = mDtoMapper.Map(doctor);

            return(mDoctorRepository.Delete(entity));
        }