public Documents GetDocumentsById(long EntityRefId) { try { DocumentsBC DocumentsBC = new DocumentsBC(); return(DocumentsBC.GetDocumentsById(EntityRefId)); } catch (Exception) { throw; } finally { } }
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 { } }
public long CreateOrUpdateDocuments(Documents doc) { try { DocumentsBC DocumentsBC = new DocumentsBC(); DocumentsBC.CreateOrUpdateDocuments(doc); return(doc.EntityRefId); } catch (Exception ex) { throw ex; } finally { } }