public ActionResult Login(LoginUser model) { if (model.Email != null) { var response = _commander.Send(model); if (response.IsSuccess) { var returnUrl = Request.QueryString["ReturnUrl"] ?? "/"; return(Redirect(returnUrl)); } response.AddToViewData(ViewData); } return(View(model)); }