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; }
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); }