示例#1
0
        public MeetingsController(fitnessdataContext context, UserManager <ApplicationUser> userManager)
        {
            _context     = context;
            _userManager = userManager;
            _clusterer   = new Clusterer(_context);
            _clusterer.CreateModel();

            TrainbyCityGraph();
            CountMeetingbyTypeGraph();
            client.DefaultRequestHeaders.Accept.Clear();
            client.DefaultRequestHeaders.Add("User-Agent", ".NET Foundation Repository Reporter");
        }