title: ASP.NET Core Razor Pages | can partial views have page models
body: <p>I have a partial view called _Subscribe.cshtml</p>
  
  <p>Is it okay for partial views to have a page model _Subscribe.cshtml.cs?</p>
  
  <p>I want to allow people who visit my website to be able to subscribe to keep up-to-date with any changes to my website.</p>
  
  <p>The subscribe form will be in the _Subscribe.cshtml and this partial view will be called in the footer in the _Layout.cshtml.</p>
  
  <p>This is because I don't want the subscribe view to be accessed directly through the url.</p>
  
  <p>Is this a good or bad approach?</p>