Esempio n. 1
0
 public ClientsController()
 {
     db = new ApplicationDbContext();
     userStore = new UserStore<ApplicationUser>(db);
     userManager = new ApplicationUserManager(userStore);
     workoutService = new WorkoutService(db);
 }
Esempio n. 2
0
 public WorkoutsController()
 {
     db = new ApplicationDbContext();
     userStore = new UserStore<ApplicationUser>(db);
     userManager = new ApplicationUserManager(userStore);
     exerciseTypeService = new ExerciseTypeService(db);
     workoutService = new WorkoutService(db);
 }