public Task <Boo> Process(Query query, CancellationToken cancellationToken) { return(Task.FromResult(_repository.GetElement(query.Id))); }
public Task <Boo> Handle(GetBooRequest request, CancellationToken cancellationToken) { return(Task.FromResult(_repository.GetElement(request.Id))); }