Exemplo n.º 1
0
 public TrainersController(fitnessdataContext context, UserManager <ApplicationUser> userManager)
 {
     _userManager = userManager;
     _context     = context;
     MeetingsController x = new MeetingsController(context, userManager);
     // x.CountMeetingbyTypeGraph();
     // x.TrainbyCityGraph();
 }
Exemplo n.º 2
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");
        }
Exemplo n.º 3
0
 public Clusterer(fitnessdataContext Context)
 {
     _context   = Context;
     _mlContext = new MLContext(seed: 0);
 }
 public TrainingTypesController(fitnessdataContext context)
 {
     _context = context;
 }
Exemplo n.º 5
0
 public HomeController(fitnessdataContext context)
 {
     _context = context;
 }