public ApplicationType UpdateApp(ApplicationType app) { var xml = _wrapper.UpdateApp( app.app_id, app.app_name, app.business_criticality, app.policy, app.business_owner, app.business_owner_email); if (string.IsNullOrWhiteSpace(xml)) { return(null); } var appinfo = XmlParseHelper.Parse <appinfo>(xml); if (appinfo.application.Count() == 0) { return(null); } return(XmlParseHelper.Parse <appinfo>(xml).application[0]); }