public List <Contenido> ObtenerContenidoMasReciente(int idMovimiento, string filtro) { try { ContenidoHandler ch = new ContenidoHandler(); return(ch.ObtenerContenidoMasReciente(idMovimiento, filtro)); } catch (Exception ex) { throw new FaultException <ProcessExecutionFault> (new ProcessExecutionFault(), ex.Message); } }
public OpcionesContenido GetOpcionesContenido(int idUsr, int idContenido) { try { ContenidoHandler ch = new ContenidoHandler(); return(ch.GetOpcionesContenido(idUsr, idContenido)); } catch (Exception ex) { throw new FaultException <ProcessExecutionFault> (new ProcessExecutionFault(), ex.Message); } }
public void AddMeGusta(int idUsr, int idContenido) { try { ContenidoHandler ch = new ContenidoHandler(); ch.AddMeGusta(idUsr, idContenido); } catch (Exception ex) { throw new FaultException <ProcessExecutionFault> (new ProcessExecutionFault(), ex.Message); } }
public void CompartirContenido(Contenido contenido) { try { ContenidoHandler ch = new ContenidoHandler(); ch.CompartirContenido(contenido); } catch (Exception ex) { throw new FaultException <ProcessExecutionFault> (new ProcessExecutionFault(), ex.Message); } }
/****************CONTENIDO*********************************/ #region Contenido public Contenido ObtenerContenidoXId(int idContenido) { try { ContenidoHandler ch = new ContenidoHandler(); return(ch.ObtenerContenidoXId(idContenido)); } catch (Exception ex) { throw new FaultException <ProcessExecutionFault> (new ProcessExecutionFault(), ex.Message); } }
public List <Contenido> ObtenerContenidosMovimientoPorInadecuado(int idMovimiento) { try { ContenidoHandler ch = new ContenidoHandler(); return(ch.ObtenerContenidosMovimientoPorInadecuado(idMovimiento)); } catch (Exception ex) { throw new FaultException <ProcessExecutionFault> (new ProcessExecutionFault(), ex.Message); } }