public Dictionary <long, IList <ProcessInstance> > GetProcessInstanceListWithsearchCriteria(int?page, int?pageSize, string sortType, string sortBy, Dictionary <string, object> criteria) { try { return(PSF.GetListWithSearchCriteriaCount <ProcessInstance>(page, pageSize, sortType, sortBy, criteria)); } catch (Exception) { throw; } finally { if (PSF != null) { PSF.Dispose(); } } }
public Dictionary <long, IList <UserAppRole> > GetAppRoleForAnUserListWithPagingAndCriteriaWithLikeSearch(int?page, int?pageSize, string sortby, string sortType, Dictionary <string, object> criteria) { try { return(PSF.GetListWithSearchCriteriaCount <UserAppRole>(page, pageSize, sortby, sortType, criteria)); } catch (Exception) { throw; } }