Поделиться через


DefaultApiConventions.Post(Object) Метод

Определение

После соглашения.

public:
 static void Post(System::Object ^ model);
[Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatch(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior.Prefix)]
[Microsoft.AspNetCore.Mvc.ProducesDefaultResponseType]
[Microsoft.AspNetCore.Mvc.ProducesResponseType(201)]
[Microsoft.AspNetCore.Mvc.ProducesResponseType(400)]
public static void Post (object model);
[<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatch(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior.Prefix)>]
[<Microsoft.AspNetCore.Mvc.ProducesDefaultResponseType>]
[<Microsoft.AspNetCore.Mvc.ProducesResponseType(201)>]
[<Microsoft.AspNetCore.Mvc.ProducesResponseType(400)>]
static member Post : obj -> unit
Public Shared Sub Post (model As Object)

Параметры

model
Object
Атрибуты

Применяется к