public UserLoginSummary(IEnumerable<IProcessStep> steps) { var enumerator = steps.GetEnumerator(); enumerator.MoveNext(); EnterMobileInputModel = enumerator.Current.As<EnterMobileStep>().InputModel; enumerator.MoveNext(); EnterLoginInputModel = enumerator.Current.As<EnterLoginStep>().InputModel; }
public ActionResult EnterLogin(EnterLoginInputModel inputModel, EnterLoginStep step) { step.Proceed(inputModel); return null; }
public void Proceed(EnterLoginInputModel inputModel) { InputModel = inputModel; OnComplete(Factory.CreateCommand<LogInUserCommand>()); }