示例#1
0
 public async Task <DoctorOnlineRecord> DeleteDoctorOnlineRecord(DoctorOnlineRecord DoctorOnlineRecordInfo)
 {
     return(await _repository.UpdateAsync(DoctorOnlineRecordInfo));
 }
示例#2
0
        public async Task <DoctorOnlineRecord> CreateDoctorOnlineRecord(DoctorOnlineRecord DoctorOnlineRecordInfo)
        {
            DoctorOnlineRecordInfo.Id = await _repository.InsertAndGetIdAsync(DoctorOnlineRecordInfo);

            return(DoctorOnlineRecordInfo);
        }