12 lines
596 B
C#
12 lines
596 B
C#
namespace OI.Metrology.Shared.Services;
|
|
|
|
using DataModels;
|
|
using OI.Metrology.Shared.Models.Stateless;
|
|
|
|
public interface IAttachmentsService
|
|
{
|
|
Stream GetAttachmentStreamByTitle(ToolType toolType, bool header, string title, string filename);
|
|
Stream GetAttachmentStreamByAttachmentId(ToolType toolType, bool header, Guid attachmentId, string filename);
|
|
string? GetProcessDataStandardFormat(IMetrologyRepository metrologyRepository, int toolTypeId, long headerId);
|
|
void SaveAttachment(ToolType toolType, long headerId, string dataUniqueId, string filename, object uploadedFile);
|
|
} |