mirror of https://github.com/abpframework/abp.git
7 changed files with 16 additions and 53 deletions
@ -1,12 +0,0 @@ |
|||
using Microsoft.AspNetCore.Mvc; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.Controllers |
|||
{ |
|||
public class AbpEmbeddedDemoController : AbpController |
|||
{ |
|||
public ActionResult Index() |
|||
{ |
|||
return View(); |
|||
} |
|||
} |
|||
} |
|||
@ -1,23 +0,0 @@ |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Ui.Navigation; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc |
|||
{ |
|||
public class EmbeddedDemoMainMenuContributor : IMenuContributor |
|||
{ |
|||
public Task ConfigureMenuAsync(MenuConfigurationContext context) |
|||
{ |
|||
if (context.Menu.Name != StandardMenus.Main) |
|||
{ |
|||
return Task.CompletedTask; |
|||
} |
|||
|
|||
context.Menu |
|||
.AddItem( |
|||
new ApplicationMenuItem("EmbeddedDemo", "EmbeddedDemo", url: "/AbpEmbeddedDemo") |
|||
); |
|||
|
|||
return Task.CompletedTask; |
|||
} |
|||
} |
|||
} |
|||
@ -1,3 +0,0 @@ |
|||
<h2>ABP Embedded Demo Page</h2> |
|||
|
|||
<p>This page's content is stored as an embedded file!</p> |
|||
Loading…
Reference in new issue