25 lines
580 B
C#
25 lines
580 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 ReportingController : Controller
|
|
{
|
|
//
|
|
// GET: /Reporting/
|
|
public ActionResult Index()
|
|
{
|
|
if (!HtmlHelpers.CheckSecurityObjectPermission(null, Areas.Reports, AccessLevel.Read))
|
|
return Redirect("/");
|
|
return View();
|
|
}
|
|
}
|
|
} |