25 lines
592 B
C#
25 lines
592 B
C#
using EnVisage.Code.HtmlHelpers;
|
|
using EnVisage.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
using Microsoft.AspNet.Identity;
|
|
using EnVisage.Code;
|
|
|
|
namespace EnVisage.Controllers
|
|
{
|
|
[Authorize]
|
|
public class ScheduleBoardController : Controller
|
|
{
|
|
//
|
|
// GET: /ScheduleBoard/
|
|
public ActionResult Index()
|
|
{
|
|
if (!SecurityManager.CheckSecurityObjectPermission(Areas.ScheduleBoard, AccessLevel.Read))
|
|
return Redirect("/");
|
|
return View();
|
|
}
|
|
}
|
|
} |