public static async Task <AttachmentContent> CreateAsset(this ISquidexAttachmentClient that, string application, string fileName, string mimeType, Stream stream) { return(await that.CreateAsset(application, new[] { new StreamPart(stream, fileName, mimeType) })); }