Role-based authorization is done by adding the authorize attribute with the Roles parameter. The example above shows the Roles="Admin" on the ...
確定! 回上一頁