public IActionResult SendAxpTemplate(string companyIds, string axpTemplate, string environmentLevel) { var input = new FileInputModel(); // Send Axp Template SendTemplate template = new SendTemplate(); ParseHelper parser = new ParseHelper(); var CompanyIDTest = parser.SplitCompanyIDs(companyIds); template.SendAxpTemplate(CompanyIDTest, axpTemplate, environmentLevel); return Json(new { success = true }); }
public string SendXml (string xmlString, string environmentLevel) { // Created an instance of SendTemplate SendTemplate template = new SendTemplate(); // Send Create Company Template to Server return template.SendAxpTemplate(xmlString, environmentLevel).Result; }