IReadOnlyService<T>.Get method
Gets an item from a remote resource.
public Task<Response<T>> Get(int id, ExpandOptions<T>? expandOptions = null, bool refresh = false,
RequestSettings? settings = null)
| parameter | description |
|---|---|
| id | item id |
| expandOptions | expand options |
| refresh | wether the local cache should be ignored or not |
| settings | request settings. It not provided, RequestSettings will be used for the request. |
See Also
- class Response<T>
- class ExpandOptions<T>
- class RequestSettings
- interface IReadOnlyService<T>
- namespace Amica