示例#1
0
        public IEnumerable <UserView> Get()
        {
            var model = _userServises.GetListForTransactions(User.Identity.Name);

            if (model.Error)
            {
                Response.StatusCode = 400;
            }
            return(model.Items);
        }
示例#2
0
        public IEnumerable <UserView> Get()
        {
            var users = _userServises.GetListForTransactions(User.Identity.Name);

            return(users);
        }