public async Task <ShareDoctor> CreateShareDoctor(ShareDoctor ShareDoctorInfo) { ShareDoctorInfo.Id = await _repository.InsertAndGetIdAsync(ShareDoctorInfo); return(ShareDoctorInfo); }
public async Task <ShareDoctor> DeleteShareDoctor(ShareDoctor ShareDoctorInfo) { return(await _repository.UpdateAsync(ShareDoctorInfo)); }