public async Task ThenTheRequestForAllOrganisationAgreementsIsMadeForAccountLegalEntity()
        {
            //Act
            await _orchestrator.GetOrganisationAgreements(AccountLegalEntityHashedId);

            //Assert
            _mediator.Verify(x => x.SendAsync(It.Is <GetOrganisationAgreementsRequest>(
                                                  c => c.AccountLegalEntityHashedId.Equals(AccountLegalEntityHashedId))));
        }
        public async Task <ActionResult> ViewAllAgreements(string hashedAccountId, string accountLegalEntityHashedId)
        {
            var model = await _orchestrator.GetOrganisationAgreements(accountLegalEntityHashedId);

            return(View(model));
        }