Ready to Test

This commit is contained in:
2022-07-26 09:34:09 -07:00
commit 2afec95704
1004 changed files with 164796 additions and 0 deletions

View File

@ -0,0 +1,13 @@
namespace OI.Metrology.Shared.Services;
using DataModels;
public interface IAttachmentsService
{
Stream GetAttachmentStreamByTitle(ToolType toolType, bool header, string title, string filename);
Stream GetAttachmentStreamByAttachmentId(ToolType toolType, bool header, Guid attachmentId, string filename);
//System.IO.Stream GetAttachmentStreamByAttachmentId(ToolType toolType, bool header, Guid attachmentId, string filename);
// void SaveAttachment(ToolType toolType, long headerId, string dataUniqueId, string filename, Microsoft.AspNetCore.Http.IFormFile uploadedFile);
void SaveAttachment(ToolType toolType, long headerId, string dataUniqueId, string filename, object uploadedFile);
}

View File

@ -0,0 +1,10 @@
using Newtonsoft.Json.Linq;
namespace OI.Metrology.Shared.Services;
public interface IInboundDataService
{
long DoSQLInsert(JToken jsonbody, DataModels.ToolType toolType, List<DataModels.ToolTypeMetadata> metaData);
void ValidateJSONFields(JToken jsonbody, int detailIndex, List<DataModels.ToolTypeMetadata> metaData, List<string> Errors, List<string> Warnings);
}