public async Task <ActionResult> GetAttachments(List <BusinessLayer.Models.AdditionalParametersRequest> parameters)
        {
            if (parameters == null)
            {
                throw new ArgumentNullException("parameters are missing");
            }
            var documentType = parameters.FirstOrDefault(x => x.Name == "documentType")?.Value;

            if (documentType == null)
            {
                throw new ArgumentNullException("Document Type parameter is missing");
            }

            var docs = await _service.FindDocuments(documentType, parameters);

            return(PartialView("_Attachments", docs));
        }