Exemple #1
0
 public Documents GetDocumentsById(long EntityRefId)
 {
     try
     {
         DocumentsBC DocumentsBC = new DocumentsBC();
         return(DocumentsBC.GetDocumentsById(EntityRefId));
     }
     catch (Exception)
     {
         throw;
     }
     finally { }
 }
Exemple #2
0
 public Dictionary <long, IList <Documents> > GetDocumentsListWithPaging(int?page, int?pageSize, string sortBy, string sortType, Dictionary <string, object> criteria)
 {
     try
     {
         DocumentsBC DocumentsBC = new DocumentsBC();
         return(DocumentsBC.GetDocumentsListWithPaging(page, pageSize, sortBy, sortType, criteria));
     }
     catch (Exception)
     {
         throw;
     }
     finally { }
 }
Exemple #3
0
 public long CreateOrUpdateDocuments(Documents doc)
 {
     try
     {
         DocumentsBC DocumentsBC = new DocumentsBC();
         DocumentsBC.CreateOrUpdateDocuments(doc);
         return(doc.EntityRefId);
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally { }
 }