public async Task <Unit> Handle(ReinstateApplicationCommand request, CancellationToken cancellationToken) { var postRequest = new PostReinstateApplicationRequest(request.ReinstateApplicationRequest); await _client.Post(postRequest); return(Unit.Value); }
public void GivenTheCallerWantsToReinstateAnApprenticeshipApplication() { _reinstateRequest = new PostReinstateApplicationRequest( new ReinstateApplicationRequest { Applications = new[] { new InnerApi.Requests.Application { AccountLegalEntityId = _fixture.Create <long>(), ULN = _fixture.Create <long>() } } }); }