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