public IHttpActionResult MergeRedInvestigacion(RedInvestigacionBaseDTO red) { RedInvestigacionHandler handler = new RedInvestigacionHandler(); try { return(Content(HttpStatusCode.OK, handler.MergeRedInvestigacion(red))); } catch (Exception ex) { return(Content(HttpStatusCode.InternalServerError, ex.Message)); } }
public IHttpActionResult ConsultaRedes() { RedInvestigacionHandler handler = new RedInvestigacionHandler(); return(Content(HttpStatusCode.OK, handler.ConsultaUsuarios())); }