Пример #1
0
        public async Task <YaeherPatientDoctor> CreateYaeherPatientDoctor(YaeherPatientDoctor YaeherPatientDoctorInfo)
        {
            YaeherPatientDoctorInfo.Id = await _repository.InsertAndGetIdAsync(YaeherPatientDoctorInfo);

            return(YaeherPatientDoctorInfo);
        }
Пример #2
0
 public async Task <YaeherPatientDoctor> DeleteYaeherPatientDoctor(YaeherPatientDoctor YaeherPatientDoctorInfo)
 {
     return(await _repository.UpdateAsync(YaeherPatientDoctorInfo));
 }