Esempio n. 1
0
        public ActionResult Index()
        {
            if (!_authorizer.Authorize(ContentSyncPermissions.SnapshotManager, T("You need the {0} permission to do this.", ContentSyncPermissions.SnapshotManager.Name)))
            {
                return(new HttpUnauthorizedResult());
            }

            return(View(_snapshotService.GetSnaphots().OrderByDescending(ss => ss.TimeTaken)));
        }
 public ActionResult Index()
 {
     return(View(_snapshotService.GetSnaphots().OrderByDescending(ss => ss.TimeTaken)));
 }