public string ClickBotaoUid(string user, string systemuid, string nestedname, string project_name, string working_layer) { //object comosobject = System.Web.HttpContext.Current.ApplicationInstance.Application["ComosAPI"]; //IBRServiceContracts.IServiceContract m_ComosAPIService = (IBRServiceContracts.IServiceContract)comosobject; IServiceContract m_ComosAPIService = GetComosAPI(); int idworkinglayer = 0; if (working_layer != "") { idworkinglayer = int.Parse(working_layer); } return(m_ComosAPIService.ClickBotaoUid(user, systemuid, nestedname, project_name, idworkinglayer)); }