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

namespace: Serenity.Data   assemblySerenity.Net.Services

Authorizes delete request access similar to [AuthorizeUpdate] attribute.

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

See Also


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

namespace: Serenity.Data   assemblySerenity.Net.Services

Authorizes delete request access similar to [AuthorizeUpdate] attribute.

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

See Also