title: Store message in a table even if user is offline signalR
body: <p>I was just wondering if it was possible to store data in a db from a hub method even if there is no connected users?</p>
  
  <p>So i have a basic method that sends a message to each user in a group from outside a group and this works great (sends message and stores in db) but i have only just noticed that if there is no connected users the method to store data into the db does not fire. One would assume when the client side function fires it still gets sent to the hub for processing?</p>
  
  <p>A little code snippet for a visual reference.</p>
  
  <pre><code>public void Send(string campaignName, string message, string name, string email, string query)
  {
      //Save Support Request
      int campaignID = Business.Campaign.getCampaignIDByCampaignName(campaignName);
  
      string n = HttpContext.Current.Server.HtmlEncode(name);
      string e = HttpContext.Current.Server.HtmlEncode(email);
      string q = HttpContext.Current.Server.HtmlEncode(query);
  
      Business.SupportRequest.newSupportRequest(n, e, q, campaignID);
  
      //If users online send message
      List&lt;Business.User&gt; users = Business.User.getUsersFromCampaign(campaignName);
      foreach (var u in users) 
      {
          Clients.Client(u.connectionID).sendSupportRequest(message);
      }
  }
  </code></pre>
  
  <p>I could easily call another function from the client side to insert to the db but id rather keep it within the Hub.</p>
  
  <p>Any help much appreciated!</p>