Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ public partial interface IStorageBroker
ValueTask<Reader> InsertReaderAsync(Reader reader);
IQueryable<Reader> SelectAllReaders();
ValueTask<Reader> SelectReaderByIdAsync(Guid readerId);
ValueTask<Reader> UpdateReaderAsync(Reader reader);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
.Include(reader => reader.Books)
.FirstOrDefaultAsync(c => c.ReaderId == readerId);

return readerWithBooks;

Check warning on line 27 in LibraryManagement.Api/Brokers/Storages/StorageBroker.Reader.cs

View workflow job for this annotation

GitHub Actions / Build

Possible null reference return.
}

public async ValueTask<Reader> UpdateReaderAsync(Reader reader) =>
await UpdateAsync(reader);
}
}
Loading