public async Task <DoctorOnlineRecord> DeleteDoctorOnlineRecord(DoctorOnlineRecord DoctorOnlineRecordInfo) { return(await _repository.UpdateAsync(DoctorOnlineRecordInfo)); }
public async Task <DoctorOnlineRecord> CreateDoctorOnlineRecord(DoctorOnlineRecord DoctorOnlineRecordInfo) { DoctorOnlineRecordInfo.Id = await _repository.InsertAndGetIdAsync(DoctorOnlineRecordInfo); return(DoctorOnlineRecordInfo); }