Interface IWebhookService
Payroll webhook service
Inherited Members
IReadService<IWebhook, TenantServiceContext, Query>.QueryResultAsync<T>(TenantServiceContext, Query)
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IWebhookService : ICrudService<IWebhook, TenantServiceContext, Query>, ICreateService<IWebhook, TenantServiceContext, Query>, IReadService<IWebhook, TenantServiceContext, Query>, IAttributeService<TenantServiceContext>
Methods
GetAsync<T>(TenantServiceContext, string)
Get webhook by name
Declaration
Task<T> GetAsync<T>(TenantServiceContext context, string name) where T : class, IWebhook
Parameters
| Type | Name | Description |
|---|---|---|
| TenantServiceContext | context | The service context |
| string | name | The webhook name |
Returns
| Type | Description |
|---|---|
| Task<T> | The webhook, null if missing |
Type Parameters
| Name | Description |
|---|---|
| T |