public Task <PopVacantInstanceResponse> PopVacantInstanceAsync(string serviceTypeUri, PopVacantInstanceRequest request) => GetProxy(serviceTypeUri).PopVacantInstanceAsync(request);
public async Task <PopVacantInstanceResponse> PopVacantInstanceAsync(PopVacantInstanceRequest request) { var result = await _mediator.ExecuteAsync(new PopVacantInstance(), default(CancellationToken)); return(new PopVacantInstanceResponse(result.InstanceId)); }