@using System.Reflection @using Microsoft.AspNetCore.Mvc.Controllers @using Infrastructure.Web.Mvc @{ var scope = (this.ViewContext.ActionDescriptor as ControllerActionDescriptor).ControllerTypeInfo.GetCustomAttribute()?.Scope; }