Udostępnij za pośrednictwem


TableController<TData>.DeleteAsync(String) Method

Definition

Provides a helper method for deleting an entity from a backend store. It deals with any
exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

protected virtual System.Threading.Tasks.Task DeleteAsync (string id);
abstract member DeleteAsync : string -> System.Threading.Tasks.Task
override this.DeleteAsync : string -> System.Threading.Tasks.Task
Protected Overridable Function DeleteAsync (id As String) As Task

Parameters

id
String

Returns

A Task<TResult> representing the delete operation executed by the the IDomainManager<TData>.

Applies to