1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-28 06:03:40 +00:00
Files
mobile/src/App/Abstractions/Repositories/ICipherApiRepository.cs
2018-11-19 22:24:10 -05:00

12 lines
423 B
C#

using System;
using System.Threading.Tasks;
using Bit.App.Models.Api;
namespace Bit.App.Abstractions
{
public interface ICipherApiRepository : IApiRepository<CipherRequest, CipherResponse, string>
{
Task<ApiResult<CipherResponse>> PostAttachmentAsync(string cipherId, byte[] data, string key, string fileName);
Task<ApiResult> DeleteAttachmentAsync(string cipherId, string attachmentId);
}
}