public IActionResult Index(ConfigTransformViewModel vm) { vm.OutPutConfigStr = XDocument.Parse(WebConfigTransformer.Transform(vm.WebConfigStr, vm.TransformConfigStr)).ToString(); return(View(vm)); }
public IActionResult Index() { var vm = new ConfigTransformViewModel(); return(View(vm)); }