public WorkoutController(
     IWorkoutsService workoutsService,
     UserManager <ApplicationUser> userManager)
 {
     this.workoutsService = workoutsService;
     this.userManager     = userManager;
 }
 public TrackingController(
     IIdentityService identityService,
     IRecipesService recipesService,
     IMapper mapper,
     IWorkoutsService workoutsService,
     ICurrentUserService currentUser,
     IMealsService mealsService)
 {
     this.identityService = identityService;
     this.recipesService  = recipesService;
     this.mapper          = mapper;
     this.workoutsService = workoutsService;
     this.currentUser     = currentUser;
     this.mealsService    = mealsService;
 }
Example #3
0
 public HomeController(
     IIdentityService identityService,
     IRecipesService recipesService,
     IWorkoutsService workoutsService,
     ICurrentUserService currentUser,
     IMapper mapper,
     IMealsService mealsService,
     ICaloriesService caloriesService,
     IUserHistoryService userHistory)
 {
     this.identityService = identityService;
     this.recipesService  = recipesService;
     this.workoutsService = workoutsService;
     this.currentUser     = currentUser;
     this.mapper          = mapper;
     this.mealsService    = mealsService;
     this.caloriesService = caloriesService;
     this.userHistory     = userHistory;
 }
 public BookingsController(IBookingsService bookingsService, IWorkoutsService workoutsService, IPaymentMethodsService paymentMethodsService)
 {
     this.bookingsService       = bookingsService;
     this.workoutsService       = workoutsService;
     this.paymentMethodsService = paymentMethodsService;
 }
Example #5
0
 public HistoryViewModel(IWorkoutsService service)
 {
     this.service = service;
 }
 public void SetUp()
 {
     repo    = new Mock <IWorkoutsRepository>();
     service = new WorkoutsService(repo.Object);
 }
Example #7
0
 public TrainViewModel(IWorkoutsService service)
 {
     this.service         = service;
     IncrementRepsCommand = new MvxAsyncCommand(IncrementReps);
 }
 public WorkoutsController(IWorkoutsService workoutsService, IWorkoutActivitiesService workoutActivitiesService, IPaymentMethodsService paymentMethodsService)
 {
     this.workoutsService          = workoutsService;
     this.workoutActivitiesService = workoutActivitiesService;
     this.paymentMethodsService    = paymentMethodsService;
 }
Example #9
0
 public CreateViewModel(IWorkoutsService service, IMvxNavigationService navigation)
 {
     this.service        = service;
     this.navigation     = navigation;
     GoToTrainingCommand = new MvxAsyncCommand(CreateWorkout);
 }
 public HomeController(IWorkoutsService workoutsService)
 {
     this.workoutsService = workoutsService;
 }
 public SchedulerController(UserManager <ApplicationUser> userManager, IWorkoutsService workoutService)
 {
     this.userManager    = userManager;
     this.workoutService = workoutService;
 }