Adding different page views
Next, you'll create a custom view that displays two cards, one with a simple Bootstrap form and another displaying an image, by completing the following steps:
Add a new empty MVC Controller Class called
FormsController.csto the project'sControllersfolder.The new controller class should already contain an
Indexaction method.Next, add a new folder called
Formsinside theViewsfolder.Add a new MVC View Page, called
Index.cshtml, to the newly createdFormsfolder.Add the following markup to the view:
       <div class="row">       <h1>Forms</h1>       <div class="col-md-3">       <form>       <div class="card card-success" style="max-width: 20rem;">       <div class="card-header">       First Panel with simple form       </div>       <div class="card-block">       ...