Exemplo n.º 1
0
        public async Task <Result <List <UserEnt> > > GetAllUsers(bool isActive)
        {
            Result <List <UserEnt> > r = null;
            await Task.Run(() =>
            {
                r = ResultRunner <List <UserEnt> > .Run(delegate() { return(UserBus.GetAllUsers(isActive)); });
            });

            return(r);
        }