public async Task <YaeherPatientDoctor> CreateYaeherPatientDoctor(YaeherPatientDoctor YaeherPatientDoctorInfo) { YaeherPatientDoctorInfo.Id = await _repository.InsertAndGetIdAsync(YaeherPatientDoctorInfo); return(YaeherPatientDoctorInfo); }
public async Task <YaeherPatientDoctor> DeleteYaeherPatientDoctor(YaeherPatientDoctor YaeherPatientDoctorInfo) { return(await _repository.UpdateAsync(YaeherPatientDoctorInfo)); }