public ActionResult ActivateCompanyFromEmail() { string companyId = TempData.Peek("CompanyId").ToString(); string userId = TempData.Peek("UserId").ToString(); var response = _authenticationService.ActivateCompany(companyId, userId); if (response.Success) { TempData["Success"] = response.Message; } else { TempData["Error"] = response.Message; } return(RedirectToAction("Login", "Account")); }