Skip to content

ServiceAuthorizationExtensions.AuthorizeUndelete<TRow> method (1 of 2)

Authorizes undelete request access similar to [AuthorizeUndelete] attribute.

public static void AuthorizeUndelete<TRow>(this IRequestContext context)
parameter description
TRow Type of row to get Undelete/Delete/Modify/Read permission attribute from
context Request context

See Also


ServiceAuthorizationExtensions.AuthorizeUndelete<TRow> method (2 of 2)

Authorizes undelete request access similar to [AuthorizeUndelete] attribute.

public static void AuthorizeUndelete<TRow>(this IPermissionService permissions, 
    ITextLocalizer localizer)
parameter description
TRow Type of row to get Undelete/Delete/Modify/Read permission attribute from
permissions Permission service
localizer Text localizer

See Also