Beispiel #1
0
 public override void When()
 {
     resultHelper = new RedirectToRouteResultHelper(controller.ChangeActive(newActiveSeasonId));
 }
Beispiel #2
0
 public override void When()
 {
     resultHelper = new RedirectToRouteResultHelper(controller.Create(viewModel));
 }
Beispiel #3
0
 public override void When()
 {
     resultHelper = new RedirectToRouteResultHelper(controller.Delete(id, page));
 }
Beispiel #4
0
 public override void When()
 {
     resultHelper = new RedirectToRouteResultHelper(controller.Delete(division.Id));
 }
Beispiel #5
0
 public override void When()
 {
     resultHelper = new RedirectToRouteResultHelper(controller.SignUp(viewModel, true));
 }
Beispiel #6
0
 public override void When()
 {
     resultHelper = new RedirectToRouteResultHelper(controller.Login(string.Empty));
 }
Beispiel #7
0
 public override void When()
 {
     resultHelper = new RedirectToRouteResultHelper(controller.Logout());
 }
Beispiel #8
0
 public override void When()
 {
     resultHelper = new RedirectToRouteResultHelper(controller.ApproveUsers(new int[] { 1, 2 }));
 }