mirror of https://github.com/abpframework/abp.git
4 changed files with 32 additions and 4 deletions
@ -0,0 +1,14 @@ |
|||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
|
||||
|
namespace AbpPerfTest.WithAbp.Controllers |
||||
|
{ |
||||
|
[Route("")] |
||||
|
public class HomeController : Controller |
||||
|
{ |
||||
|
[HttpGet] |
||||
|
public ActionResult Index() |
||||
|
{ |
||||
|
return Redirect("/api/books/"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,14 @@ |
|||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
|
||||
|
namespace AbpPerfTest.WithoutAbp.Controllers |
||||
|
{ |
||||
|
[Route("")] |
||||
|
public class HomeController : Controller |
||||
|
{ |
||||
|
[HttpGet] |
||||
|
public ActionResult Index() |
||||
|
{ |
||||
|
return Redirect("/api/books/"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue