15 lines
273 B
C#
15 lines
273 B
C#
namespace Groceries.Home;
|
|
|
|
using Microsoft.AspNetCore.Http.HttpResults;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
[Route("/")]
|
|
public class HomeController : ControllerBase
|
|
{
|
|
[HttpGet]
|
|
public IResult Index()
|
|
{
|
|
return new RazorComponentResult<HomePage>();
|
|
}
|
|
}
|