Interface IPostOpAction<TModel, TUser>
An action that is run after the operation occurs
Namespace: Seltzr.Actions
Assembly: Seltzr.dll
Syntax
C#
public interface IPostOpAction<TModel, in TUser>
where TModel : class where TUser : class
Type Parameters
TModel
The type of model that has been operated on
TUser
The type of authenticated user
Methods
Runs this post-operation action
C#
Task RunAsync(IApiContext<TModel, TUser> context, IEnumerable<TModel> dataset)
Parameters
context
IApiContext<TModel, TUser>
The current API context
dataset
IEnumerable<TModel>
The data that resulted from the operation
Returns
When the action is complete