Skip to content

Commit

Permalink
DOCUMENTATION: Adds async SelectAll Broker Sample
Browse files Browse the repository at this point in the history
  • Loading branch information
glhays authored Aug 5, 2024
1 parent 52bf7a4 commit 68dfa73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 1. Brokers/1. Brokers.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ namespace OtripleS.Web.Api.Brokers.Storages
return @object;
}

private ValueTask<IQueryable<T>> SelectAllAsync<T>() where T : class => this.Set<T>();
private async ValueTask<IQueryable<T>> SelectAllAsync<T>() where T : class => this.Set<T>();

private async ValueTask<T> SelectAsync<T>(params object[] @objectIds) where T : class =>
await this.FindAsync<T>(objectIds);
Expand Down Expand Up @@ -415,4 +415,4 @@ For example, adding <NoWarn>CS1998</NoWarn> to a <PropertyGroup> in your .csproj
[*] [Implementing Abstract Components (Part 2)](https://www.youtube.com/watch?v=d1cqEKMBmno)
[*] [Generating Model Migrations w/ EntityFramework](https://www.youtube.com/watch?v=6sD5zz9BuOk)
[*] [Generating Model Migrations w/ EntityFramework](https://www.youtube.com/watch?v=6sD5zz9BuOk)

0 comments on commit 68dfa73

Please sign in to comment.