oi-metrology/Shared/Models/Stateless/IInboundController.cs

17 lines
372 B
C#

using Newtonsoft.Json.Linq;
namespace OI.Metrology.Shared.Models.Stateless;
public interface IInboundController<T>
{
enum Action : int
{
Index = 0
}
static string GetRouteName() => nameof(IInboundController<T>)[1..^10];
T Post(string tooltype, JToken jsonbody);
T AttachFile(string tooltype, long headerid, string datauniqueid = "");
}