I could do this with a custom attribute as follows. [AuthorizeUser(AccessLevel = "Create")] public ActionResult CreateNewInvoice() { //... return View(); } ...
確定! 回上一頁