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

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

            return(mDoctorRepository.Delete(entity));
        }