Removed FromBody

This commit is contained in:
2023-03-08 10:04:15 -07:00
parent db44756142
commit de048b6842
7 changed files with 155 additions and 35 deletions

View File

@ -1,5 +1,3 @@
using OI.Metrology.Shared.DataModels;
namespace OI.Metrology.Shared.Models.Stateless;
public interface IExportController<T>
@ -14,9 +12,13 @@ public interface IExportController<T>
}
static string GetRouteName() => nameof(IExportController<T>)[1..^10];
T GetExport(HeaderCommon headerCommon);
T GetHeaders(HeaderCommon headerCommon);
T GetLogistics(HeaderCommon headerCommon);
T GetProcessDataStandardFormat(HeaderCommon headerCommon);
T GetExport();
T GetHeaders();
T GetLogistics();
T GetProcessDataStandardFormat();
T PostExport();
T PostHeaders();
T PostLogistics();
T PostProcessDataStandardFormat();
}

View File

@ -1,5 +1,3 @@
using Newtonsoft.Json.Linq;
namespace OI.Metrology.Shared.Models.Stateless;
public interface IInboundController<T>
@ -11,7 +9,7 @@ public interface IInboundController<T>
}
static string GetRouteName() => nameof(IInboundController<T>)[1..^10];
T Post(string tooltype, JToken jsonbody);
T Post(string tooltype);
T AttachFile(string tooltype, long headerid, string datauniqueid = "");
}