public void AddNewDoctor(DoctorDto doctor) { var entity = mDtoMapper.Map(doctor); mDoctorRepository.AddNew(entity); }
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 bool DeleteDoctor(DoctorDto doctor) { var entity = mDtoMapper.Map(doctor); return(mDoctorRepository.Delete(entity)); }