Added endpoint handling there
This commit is contained in:
15
TOOHUCardAPI/Data/EndpointHandlerAttribute.cs
Normal file
15
TOOHUCardAPI/Data/EndpointHandlerAttribute.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace TOOHUCardAPI.Data
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public class EndpointHandlerAttribute : System.Attribute
|
||||
{
|
||||
public string Method;
|
||||
|
||||
public EndpointHandlerAttribute(string method)
|
||||
{
|
||||
Method = method;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user