public Task <TaskAttachment> CreateAttachmentAsync(Guid scopeIdentifier, string hubName, Guid planId, Guid timelineId, Guid timelineRecordId, String type, String name, Stream uploadStream, CancellationToken cancellationToken) { AttachmentsCreated.Add(name); return(Task.FromResult(new TaskAttachment(type, name))); }
public Task <TaskAttachment> AssosciateAttachmentAsync(Guid scopeIdentifier, string hubName, Guid planId, Guid timelineId, Guid timelineRecordId, string type, string name, DedupIdentifier dedupId, long length, CancellationToken cancellationToken) { AttachmentsCreated.Add(name); return(Task.FromResult(new TaskAttachment(type, name))); }