public static void saveAction(String action, String location, String ip, String owner) { try { DBcontext.setPiactProblem(action, location, owner, ip, ""); } catch (Exception ex) { throw ex; } }
public static List <ClimaticPublication> getPublicationBySection(int idSection, int pageNum) { try { return(DBcontext.getPublicationBySection(idSection, pageNum)); } catch (Exception ex) { throw ex; } }
/* public static Resource getSourceByID(int IDsection) * { * return DBcontext.getResourceSourceByID(IDsection); * } */ public static List <Resource> setResourcePosition(Resource resource) { return(DBcontext.setResourcePosition(resource)); }
public static IQueryable <Resource> getResourcesData() { return(DBcontext.getResourceList().AsQueryable()); }
public static IQueryable <Category> getCategoryData() { return(DBcontext.getListCategory().AsQueryable()); }
public static IQueryable <Sections> getSectionsData() { return(DBcontext.getListSection().AsQueryable()); }
public static List <ClimaticPublication> getAllPubTitles() { return(DBcontext.getPubTitlesBySection(32)); }
public static String setInterviewPublicationInfo(ClimaticPublication pub) { return(DBcontext.setInterviewPublicationInfo(pub)); }
public static Boolean setPublicationInfo_Source(ClimaticPublication pub) { return(DBcontext.setPublicationInfo_Source(pub)); }
public ClimaticPublication getPublicationInfo(int idResource) { return(DBcontext.getPublicationInfo(idResource)); }