public IHttpActionResult DatosEmpresa(ParametrosDTO oParametrosDTO) { try { ProyectoBl p = new ProyectoBl(); var response = p.DatosEmpresa(int.Parse(oParametrosDTO.Paramatro1)); return(Ok(new { success = true, response })); } catch (Exception e) { return(Ok(new { success = false, e.Message })); } }