So far, we have configured Angular and developed few components that are shared and related to the service request. We will have three controllers to show the home page, user features, and service request.
Add the MVC HomeController in the Controllers folder and add a default Index action method, as follows:
public class HomeController : Controller { // GET: /<controller>/ public IActionResult Index() { return View(); } }
In our Startup class, our default routing will be set to the home controller. Therefore, this is the main landing page for displaying single-page templates.
Then, in the Index.cshtml page, we will add our tenant-mgmt selector, as shown next:
<tenant-mgmt><img src="~/images/loading.gif" ...