public ResourceState GetAll()
 {
     var repr = new ResourceState
     {
         self = _uriMaker.UriFor(c => c.GetAll()),
         next = _uriMaker.UriFor(c => c.GetPaged(1, 10)),
         first = _uriMaker.UriFor(c => c.GetById(0)),
         first_alternative = _uriMaker.UriFor(c => c.GetById(0, true))
     };
     return repr;
 }
예제 #2
0
            public ResourceState GetAll()
            {
                var repr = new ResourceState
                {
                    self              = _uriMaker.UriFor(c => c.GetAll()),
                    next              = _uriMaker.UriFor(c => c.GetPaged(1, 10)),
                    first             = _uriMaker.UriFor(c => c.GetById(0)),
                    first_alternative = _uriMaker.UriFor(c => c.GetById(0, true))
                };

                return(repr);
            }