mirror of
https://github.com/bitwarden/mobile
synced 2025-12-28 06:03:40 +00:00
16 lines
414 B
C#
16 lines
414 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.App.Models;
|
|
using Bit.App.Models.Api;
|
|
|
|
namespace Bit.App.Abstractions
|
|
{
|
|
public interface IFolderService
|
|
{
|
|
Task<Folder> GetByIdAsync(string id);
|
|
Task<IEnumerable<Folder>> GetAllAsync();
|
|
Task<ApiResult<FolderResponse>> SaveAsync(Folder folder);
|
|
Task<ApiResult> DeleteAsync(string folderId);
|
|
}
|
|
}
|