/// <inheritdoc />
 public async Task <IList <int>?> Handle(FakeCrudListQuery request, CancellationToken cancellationToken)
 {
     return(await Task.FromResult(new List <int>
     {
         1,
         2,
         3,
         4,
         5
     }).ConfigureAwait(false));
 }
示例#2
0
 private static Task <IList <int> > MockListMediatorHandlerAsync(FakeCrudListQuery auditableRequest, CancellationToken cancellationToken)
 {
     return(Task.FromResult(new List <int> {
         1, 2, 3
     } as IList <int>));
 }