public ActionResult VerifyAccount(Guid Id) { ViewBag.Activated = _userrepo.ActivateAccount(Id); return(View()); }
public int ActivateAccount(long id, string token) { return(userRepository.ActivateAccount(id, token)); }