Beispiel #1
0
        public async Task <ShareDoctor> CreateShareDoctor(ShareDoctor ShareDoctorInfo)
        {
            ShareDoctorInfo.Id = await _repository.InsertAndGetIdAsync(ShareDoctorInfo);

            return(ShareDoctorInfo);
        }
Beispiel #2
0
 public async Task <ShareDoctor> DeleteShareDoctor(ShareDoctor ShareDoctorInfo)
 {
     return(await _repository.UpdateAsync(ShareDoctorInfo));
 }