コード例 #1
0
        public IEnumerable <UserIdAndName> GetUserIdsAndNames()
        {
            var users = _dynamoService.Scan <FullUser>();
            List <UserIdAndName> ret = new List <UserIdAndName>();

            foreach (var user in users)
            {
                ret.Add(new UserIdAndName {
                    Id = user.UserId, Name = user.FullName
                });
            }
            return(ret);
        }