File: Areas\Customer\Controllers\HtmlGeneration_CustomerController.cs
Web Access
Project: src\src\Mvc\test\WebSites\HtmlGenerationWebSite\HtmlGenerationWebSite.csproj (HtmlGenerationWebSite)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.AspNetCore.Mvc;
 
namespace HtmlGenerationWebSite.Areas.Customer.Controllers;
 
[Area("Customer")]
public class HtmlGeneration_CustomerController : Controller
{
    public IActionResult Index(Models.Customer customer)
    {
        return View("Customer");
    }
 
    [HttpGet]
    public IActionResult CustomerWithRecords()
    {
        return View("CustomerWithRecords");
    }
 
    public IActionResult CustomerWithRecords(Models.CustomerRecord customer)
    {
        return View("CustomerWithRecords");
    }
}