mirror of
https://github.com/bitwarden/server.git
synced 2026-02-11 11:23:14 +08:00
31 lines
714 B
C#
31 lines
714 B
C#
|
|
using System.Threading.Tasks;
|
|||
|
|
using System.IO;
|
|||
|
|
using System;
|
|||
|
|
using Bit.Core.Models.Table;
|
|||
|
|
|
|||
|
|
namespace Bit.Core.Services
|
|||
|
|
{
|
|||
|
|
public class NoopSendFileStorageService : ISendFileStorageService
|
|||
|
|
{
|
|||
|
|
public Task UploadNewFileAsync(Stream stream, Send send, string attachmentId)
|
|||
|
|
{
|
|||
|
|
return Task.FromResult(0);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public Task DeleteFileAsync(string fileId)
|
|||
|
|
{
|
|||
|
|
return Task.FromResult(0);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public Task DeleteFilesForOrganizationAsync(Guid organizationId)
|
|||
|
|
{
|
|||
|
|
return Task.FromResult(0);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public Task DeleteFilesForUserAsync(Guid userId)
|
|||
|
|
{
|
|||
|
|
return Task.FromResult(0);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|