예제 #1
0
        public FileResult GetFormModel(string org, string service, string developer, int partyId, Guid instanceId)
        {
            string testDataForParty = _settings.GetTestdataForPartyPath(org, service, developer);
            string formDataFilePath = $"{testDataForParty}{partyId}/{instanceId}/data/{instanceId}.xml";

            return(File(_execution.GetFileStream(formDataFilePath), "application/xml", $"{instanceId}.xml"));
        }
예제 #2
0
        public FileResult GetFormModel(string org, string service, string developer, int partyId, int formID)
        {
            string formDataFilePath = $"{_settings.GetTestdataForPartyPath(org, service, developer)}{partyId}/{formID}.xml";

            return(File(_execution.GetFileStream(formDataFilePath), "application/xml", $"{formID}.xml"));
        }