Exemple #1
0
 public async void DeleteVisitorsCount(string storeName)
 {
     using (await _lock.LockAsync())
     {
         DashboardStatProcessor.GetVisitorsCount(storeName);
     }
 }
Exemple #2
0
 public async Task <IHttpActionResult> AddHumanVisitors(string storeName, int count)
 {
     {
         if (DashboardStatProcessor.AddHumanVisitors(storeName, count).Result)
         {
             return(Ok());
         }
     }
     return(InternalServerError());
 }
Exemple #3
0
 public int GetVisitorsCount(string storeName)
 {
     return(DashboardStatProcessor.GetVisitorsCount(storeName));
 }