Esempio n. 1
0
 public NewExercisePageVMTest()
 {
     navigateService = new Mock <INavigateService>();
     alertService    = new Mock <IAlertService>();
     TestHelper.PrepareUnitOfWork(out unitOfWork);
     App.Data.NavigateService = navigateService.Object;
     App.Data.AlertService    = alertService.Object;
     App.Data.User            = new User {
         UserId = 1
     };
     viewModel = new NewExercisePageVM();
 }
Esempio n. 2
0
 public NewExerciseCommand(NewExercisePageVM viewModel)
 {
     this.viewModel = viewModel;
 }