mirror of https://github.com/abpframework/abp.git
22 changed files with 78 additions and 44 deletions
@ -1,13 +1,14 @@ |
|||
using System.Threading.Tasks; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.AspNetCore.Mvc.RazorPages; |
|||
|
|||
namespace Volo.ClientSimulation.Pages.ClientSimulation |
|||
{ |
|||
public class IndexModel : PageModel |
|||
{ |
|||
public async Task OnGetAsync() |
|||
public Task<IActionResult> OnGetAsync() |
|||
{ |
|||
|
|||
return Task.FromResult<IActionResult>(Page()); |
|||
} |
|||
} |
|||
} |
|||
@ -1,17 +1,18 @@ |
|||
using System.Threading.Tasks; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
|
|||
namespace Volo.Abp.Identity.Web.Pages.Identity.Roles |
|||
{ |
|||
public class IndexModel : IdentityPageModel |
|||
{ |
|||
public virtual Task OnGetAsync() |
|||
public virtual Task<IActionResult> OnGetAsync() |
|||
{ |
|||
return Task.CompletedTask; |
|||
return Task.FromResult<IActionResult>(Page()); |
|||
} |
|||
|
|||
public virtual Task OnPostAsync() |
|||
public virtual Task<IActionResult> OnPostAsync() |
|||
{ |
|||
return Task.CompletedTask; |
|||
return Task.FromResult<IActionResult>(Page()); |
|||
} |
|||
} |
|||
} |
|||
@ -1,17 +1,18 @@ |
|||
using System.Threading.Tasks; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
|
|||
namespace Volo.Abp.Identity.Web.Pages.Identity.Users |
|||
{ |
|||
public class IndexModel : IdentityPageModel |
|||
{ |
|||
public virtual Task OnGetAsync() |
|||
public virtual Task<IActionResult> OnGetAsync() |
|||
{ |
|||
return Task.CompletedTask; |
|||
return Task.FromResult<IActionResult>(Page()); |
|||
} |
|||
|
|||
public virtual Task OnPostAsync() |
|||
public virtual Task<IActionResult> OnPostAsync() |
|||
{ |
|||
return Task.CompletedTask; |
|||
return Task.FromResult<IActionResult>(Page()); |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -1,18 +1,19 @@ |
|||
using System.Threading.Tasks; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.AspNetCore.Mvc.RazorPages; |
|||
|
|||
namespace Volo.Abp.TenantManagement.Web.Pages.TenantManagement.Tenants |
|||
{ |
|||
public class IndexModel : TenantManagementPageModel |
|||
{ |
|||
public virtual Task OnGetAsync() |
|||
public virtual Task<IActionResult> OnGetAsync() |
|||
{ |
|||
return Task.CompletedTask; |
|||
return Task.FromResult<IActionResult>(Page()); |
|||
} |
|||
|
|||
public virtual Task OnPostAsync() |
|||
public virtual Task<IActionResult> OnPostAsync() |
|||
{ |
|||
return Task.CompletedTask; |
|||
return Task.FromResult<IActionResult>(Page()); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue