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