title: How to refresh web page after database update in ASP.NET CORE with Blazor
body: <p>I'm making a small room booking web app and I would like to have the web page refresh on a given interval; ie a given minute or when a change has been done to the database. I found <code>StateHasChanged();</code> but i don't really know how to implement it (Newbie One Kenobi here!)
  I tried to put it within the function for adding an appointment to the schedule:</p>
  
  <pre><code>var result = Service.CreateSchedule(nextSchedule);
      if (result)
      {
          StateHasChanged();
          NavigationManager.NavigateTo("/roomzfront/1");
      }
  </code></pre>
  
  <p>But I probably need something more than this, or in an other place of the code.</p>