Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IWebhookRequestRepository

    Namespace: Umbraco.Cms.Core.Persistence.Repositories
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IWebhookRequestRepository

    Methods

    View Source

    CreateAsync(WebhookRequest)

    Creates a webhook request in the current repository.

    Declaration
    Task<WebhookRequest> CreateAsync(WebhookRequest webhookRequest)
    Parameters
    Type Name Description
    WebhookRequest webhookRequest

    The webhook you want to create.

    Returns
    Type Description
    Task<WebhookRequest>

    The created Webhook webhook

    View Source

    DeleteAsync(WebhookRequest)

    Deletes a webhook request in the current repository

    Declaration
    Task DeleteAsync(WebhookRequest webhookRequest)
    Parameters
    Type Name Description
    WebhookRequest webhookRequest

    The webhook request to be deleted.

    Returns
    Type Description
    Task A representing the asynchronous operation.
    View Source

    GetAllAsync()

    Gets all of the webhook requests in the current repository.

    Declaration
    Task<IEnumerable<WebhookRequest>> GetAllAsync()
    Returns
    Type Description
    Task<IEnumerable<WebhookRequest>>

    A paged model of Webhook objects.

    View Source

    UpdateAsync(WebhookRequest)

    Update a webhook request in the current repository.

    Declaration
    Task<WebhookRequest> UpdateAsync(WebhookRequest webhookRequest)
    Parameters
    Type Name Description
    WebhookRequest webhookRequest

    The webhook request you want to update.

    Returns
    Type Description
    Task<WebhookRequest>

    The updated WebhookRequest webhook

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • CreateAsync(WebhookRequest)
      • DeleteAsync(WebhookRequest)
      • GetAllAsync()
      • UpdateAsync(WebhookRequest)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX