Here's a simple example using role-based authorization: [Authorize(Roles = "Admin,Moderator")] ...
確定! 回上一頁