public override ActionResult Index(OpenAgreementBlock currentBlock)
        {
            var activeCustomer = _userManager.GetActiveCustomer(HttpContext);

            var grainAgreements = _agreementRepo.GetOpenGrainAgreements(activeCustomer?.CustomerNo, currentBlock.MaxGrainTradeItems);
            var seedAgreements  = _agreementRepo.GetOpenSeedAgreements(activeCustomer?.CustomerNo, currentBlock.MaxSeedTradeItems);

            return(PartialView("~/Views/Shared/Blocks/OpenAgreementBlock.cshtml", new OpenAgreementsBlockViewModel(currentBlock)
            {
                OpenGrainAgreements = grainAgreements ?? new Agreement[0],
                OpenSeedAgreements = seedAgreements ?? new SeedAssurance[0]
            }));
        }