mirror of https://github.com/abpframework/abp.git
3 changed files with 18 additions and 12 deletions
@ -1,18 +1,14 @@ |
|||||
using System; |
|
||||
using System.ComponentModel.DataAnnotations; |
|
||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||
using Microsoft.AspNetCore.Authorization; |
using Microsoft.AspNetCore.Authorization; |
||||
using Microsoft.AspNetCore.Mvc; |
using Microsoft.AspNetCore.Mvc; |
||||
using Volo.Docs.Documents; |
|
||||
|
|
||||
namespace Volo.Docs.Admin.Pages.Docs.Admin.Documents |
namespace Volo.Docs.Admin.Pages.Docs.Admin.Documents; |
||||
|
|
||||
|
[Authorize(DocsAdminPermissions.Projects.Default)] |
||||
|
public class IndexModel : DocsAdminPageModel |
||||
{ |
{ |
||||
[Authorize(DocsAdminPermissions.Projects.Default)] |
public virtual Task<IActionResult> OnGet() |
||||
public class IndexModel : DocsAdminPageModel |
|
||||
{ |
{ |
||||
public virtual Task<IActionResult> OnGet() |
return Task.FromResult<IActionResult>(Page()); |
||||
{ |
|
||||
return Task.FromResult<IActionResult>(Page()); |
|
||||
} |
|
||||
} |
} |
||||
} |
} |
||||
Loading…
Reference in new issue