예제 #1
0
        protected override System.Collections.Generic.List <Genre> LoadElements(int limit, GetGenreRequest options)
        {
            if (limit > 0 && options.Limit <= 0)
            {
                options.Limit = limit;
            }
            options.Depth = 1;
            var oneResponse = _restClient.Get(options);

            List <Genre> result = new List <Genre>();

            // foreach oneResponse ..
            result.Add(GenreDto.fromJson(oneResponse));
            return(result);
        }
예제 #2
0
 public Genre(GenreDto args) : base(args.Id)
 {
     _foo = args.Foo;
 }
예제 #3
0
 public Genre(GenreDto args)
     : base(args.Id)
 {
     _foo = args.Foo;
 }