JsonElement instead of Request body Attachment Class Bump Ready to test GetLastGroupIdWithValue Changed to v4
		
			
				
	
	
		
			13 lines
		
	
	
		
			579 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			579 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| namespace OI.Metrology.Shared.Services;
 | |
| 
 | |
| using DataModels;
 | |
| using OI.Metrology.Shared.Models;
 | |
| 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, Attachment attachment);
 | |
| } |