public async Task <IActionResult> GenerateEDIFile(string shipPlanId, string custID, string docType, string PurposeCode) { EdifactLogic logic = new EdifactLogic(_context); return(Ok(await logic.GenerateEDIFile(shipPlanId, custID, docType, PurposeCode))); }
public void TestMethod1() { EdifactLogic logic = new EdifactLogic(_context); Assert.IsNotNull(logic.GenerateEDIFile(_shipPlanId, _custID, _docType, _PurposeCode)); }