public Dictionary <string, Dictionary <string, int> > GatAllData()
        {
            Dictionary <string, Dictionary <string, int> > result = new Dictionary <string, Dictionary <string, int> >();

            result.Add("Statistic", GetData());
            result.Add("MonthlyChart", userService.UpdateLineChart());
            result.Add("PiChart", userTrackService.GetPieChartData());
            return(result);
        }
        public string Approve(int id)
        {
            try
            {
                userTrackService.Approve(id);

                int    UserID    = userTrackService.GetByID(id).UserID;
                string TrackName = userTrackService.GetByID(id).Track.Name;
                Hub.Clients.All.GetApproval(new { UserID, TrackName });
                Hub.Clients.All.UpdatePieChart(userTrackService.GetPieChartData());


                return("Track Approved Sucessfully");
            }
            catch (Exception e)
            {
                return("Error");
            }
        }