示例#1
0
        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));
            }
        }
示例#2
0
        public IHttpActionResult ConsultaRedes()
        {
            RedInvestigacionHandler handler = new RedInvestigacionHandler();

            return(Content(HttpStatusCode.OK, handler.ConsultaUsuarios()));
        }