DataServiceBasePutResourceT Method
Updates a resource.
Namespace: Common.Core.ClassesAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
public T PutResource<T>(
string uri,
T obj,
JsonSerializerOptions? options = null
)
where T : class
- uri String
- Uniform Resource Identifier.
- obj T
- Resource to update.
- options JsonSerializerOptions (Optional)
- Json serializer options.
- T
- Generic class or interface.
TThe updated resource, or
if there were errors while processing the JSON.