Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 void loadFromData()
 {
     loadFullList(UserBUS.GetAll());
     SetDataSource(_ListStaff);
 }
 void loadFromData()
 {
     _ListStaff = UserBUS.GetAll();
     SetDataSource(_ListStaff);
 }