title: My view page is not displaying anything in mvc asp.net
body: <p>I am a beginner in asp.net core. I am using the <strong>code first</strong> approach to create a view page called CreateCustomerAccount.cshtml and I have added the controller to return the view called CreateCustomerAccountController. However, the controller is returning blank page instead of the html/view content. Have I done anything wrong?</p>
  
  <p>Here is my code for CreateAccount.cshtml </p>
  
  <pre><code>@{
  ViewData["Title"] = "CreateCustomerAccount";
  }
  
  &lt;h2&gt;CreateCustomerAccount&lt;/h2&gt;  
  
  &lt;p&gt;User can create account using a form later&lt;/p&gt;
  </code></pre>
  
  <p>And here is my code for my CreateCustomerAccountController.cs class</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Threading.Tasks;
  using Microsoft.AspNetCore.Mvc;
  
  namespace TimeSheetManagementSystem.Controllers
  {
  public class CreateCustomerAccountController : Controller
  {
  public IActionResult Index()
  {
          return View();
      }
  
      public IActionResult CreateCustomerAccount()
      {
          return View();
      }
  
  
    }
    }
  </code></pre>