Exemplo n.º 1
0
 public ClientsController()
 {
     db = new ApplicationDbContext();
     userStore = new UserStore<ApplicationUser>(db);
     userManager = new ApplicationUserManager(userStore);
     workoutService = new WorkoutService(db);
 }
Exemplo 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);
 }