public ResponseSignIn Perform(string userInput) { var ret = new ResponseSignIn(); // Model _model = new SignInModel(); var userInfo = _model.Refine(userInput); if (userInfo.Item1 != ResultCode.SUCCESS) { ret.ResultCode = userInfo.Item1; return(ret); } // Logic _logic = new SignInLogic(); var execution = _logic.Execute(userInfo.Item2); { ret.ResultCode = execution; } // Log Logger.Info($"UserId: {userInfo.Item2.UserId} / Email: {userInfo.Item2.Email}"); return(ret); }
public SignInManager() { RequestSignIn = new RequestSignIn(); ResponseSignIn = new ResponseSignIn(); }