public IHttpActionResult CargarDocentePar() { try { TecnicaBl obj = new TecnicaBl(); var Datos = obj.CargarDocentePar(); return(Ok(new { success = true, datos = Datos })); } catch (Exception exc) { return(Ok(new { success = false, exc = exc.Message })); } }