/// <summary> /// Перейти в настройки пользователя /// </summary> /// <returns></returns> public ActionResult UpdateAccount() { Account account = _accountLogic.GetAccount(); return(account == null ? (ActionResult)RedirectToAction("Login", "Authentification") : View("UpdateAccount", new UserParameters(account))); }
public void AccountLogic_GetAccount() { //Act Account account = _accountLogic.GetAccount(); //Assert Assert.NotNull(account); Assert.AreEqual(account.Email, _testAccount.Email); }