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.cs
to the project'sControllers
folder.The new controller class should already contain an
Index
action method.Next, add a new folder called
Forms
inside theViews
folder.Add a new MVC View Page, called
Index.cshtml
, to the newly createdForms
folder.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">       ...