bitwarden-android/src/App/Abstractions/Services/IFolderService.cs

15 lines
360 B
C#
Raw Normal View History

2016-05-02 09:52:09 +03:00
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.App.Models;
2016-05-03 09:08:50 +03:00
using Bit.App.Models.Api;
2016-05-02 09:52:09 +03:00
namespace Bit.App.Abstractions
{
public interface IFolderService
{
2016-05-03 09:08:50 +03:00
Task<Folder> GetByIdAsync(string id);
2016-05-02 09:52:09 +03:00
Task<IEnumerable<Folder>> GetAllAsync();
2016-05-03 09:08:50 +03:00
Task<ApiResult<FolderResponse>> SaveAsync(Folder folder);
2016-05-02 09:52:09 +03:00
}
}