Exemple #1
0
 // GET: Update/Index
 public ActionResult Index()
 {
     return(User.Identity.IsAuthenticated ?
            (ActionResult)View(_updateRepository.GetAllUpdates()) : RedirectToAction("Login", "Account"));
 }