13 lines
362 B
C#
13 lines
362 B
C#
using Microsoft.AspNetCore.Mvc.Filters;
|
|
|
|
namespace Complex.EndPoint.Utility
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class CheckAccess: ActionFilterAttribute
|
|
{
|
|
public string AccessTitle { set; get; } = "";
|
|
public bool AvailabilityByAccess { set; get; } = true;
|
|
public bool Disabled { set; get; } = false;
|
|
}
|
|
}
|