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-18 06:25:40 +03:00
|
|
|
|
Task<ApiResult<object>> DeleteAsync(string folderId);
|
2016-05-02 09:52:09 +03:00
|
|
|
|
}
|
|
|
|
|
}
|