namespace OpenAuth.WebApi.Model.CustomAttribute { public class AllDataAttribute : Attribute { public AllDataAttribute(string controllerName, string actionName) { ControllerName = controllerName; ActionName = actionName; } public string ControllerName { get; set; } public string ActionName { get; set; } } }