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); void SaveAttachment(ToolType toolType, long headerId, string dataUniqueId, string filename, object uploadedFile); }