public IHttpActionResult GetTeamsActivityCount(int companyId, int ReportPeriod)
        {
            var count   = _metricsService.GetTeamsActivity(companyId, ReportPeriod);
            var details = _metricsService.GetTeamsActivityDetails(companyId, ReportPeriod, null);
            var result  = new
            {
                count,
                details
            };

            if (result == null)
            {
                return(NotFound());
            }
            return(Ok(result));
        }