public List <object> GetAll(string str, int PageIndex, int PageSize) { try { if (str == null) { str = ""; } object[] obj = { str, PageIndex, PageSize }; return(ubll.List(obj)); } catch (Exception) { return(null); } }