public IEnumerable <ApiUser> GetAll(string filter = null, string sort = "f_ID DESC") { IEnumerable <ApiUser> apiUsers = new List <ApiUser>(); try { apiUsers = service.GetAll(filter, sort); } catch (Exception ex) { throw ex; } return(apiUsers); }
void loadFromData() { loadFullList(UserBUS.GetAll()); SetDataSource(_ListStaff); }
void loadFromData() { _ListStaff = UserBUS.GetAll(); SetDataSource(_ListStaff); }