Click or drag to resize

ControllerStandardDataItemClassIndex Method

Standard Index (Get). Check CanIndex and Permission by Read and ReadOwner. Called IndexOnActionResultGet when entitled

Namespace:  SOWIWin.Helper
Assembly:  SOWIWin.Helper (in SOWIWin.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public virtual ActionResult Index()

Return Value

Type: ActionResult

[Missing <returns> documentation for "M:SOWIWin.Helper.ControllerStandard`1.Index"]

Remarks
Code for this method
public virtual ActionResult Index()
{
    if (this.CanIndex)
    {
        var lClaim = new SOWIData.Management.CRUD[] { SOWIData.Management.CRUD.Read, SOWIData.Management.CRUD.ReadOwner };
        if (PermissionCheck(lClaim))
        {
            return IndexOnActionResultGet();
        }
    }
    return PermissionDenied();
}
See Also