2021-11-29 06:32:21 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
2021-11-14 01:19:28 +00:00
|
|
|
|
using Start.Server.Models;
|
|
|
|
|
|
|
|
|
|
namespace Start.Server.Data.Services.Interfaces {
|
|
|
|
|
public interface IBookmarkContainerService {
|
2021-11-29 06:32:21 +00:00
|
|
|
|
public Task<BookmarkContainer?> GetBookmarkContainer(string userId,
|
2021-11-14 01:19:28 +00:00
|
|
|
|
int bookmarkContainerId, bool includeGroups = false, bool includeBookmarks = false);
|
2021-11-29 06:32:21 +00:00
|
|
|
|
public Task<IList<BookmarkContainer>> GetUserBookmarkContainers(string userId,
|
2021-11-14 01:19:28 +00:00
|
|
|
|
bool includeGroups = false, bool includeBookmarks = false);
|
|
|
|
|
|
2021-11-29 06:32:21 +00:00
|
|
|
|
public Task<BookmarkContainer?> CreateBookmarkContainer(string userId,
|
2021-11-14 01:19:28 +00:00
|
|
|
|
string title);
|
2021-11-29 06:32:21 +00:00
|
|
|
|
public Task<BookmarkContainer?> UpdateBookmarkContainer(string userId,
|
2021-11-14 01:19:28 +00:00
|
|
|
|
BookmarkContainer bookmarkContainer);
|
2021-11-29 06:32:21 +00:00
|
|
|
|
public Task<bool> DeleteBookmarkContainer(string userId, int bookmarkContainerId);
|
2021-11-14 01:19:28 +00:00
|
|
|
|
}
|
|
|
|
|
}
|