BlazorStart/Start/Server/Data/Services/Interfaces/IBookmarkContainerService.cs

19 lines
789 B
C#
Raw Normal View History

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 {
public Task<BookmarkContainer?> GetBookmarkContainer(string userId,
2021-11-14 01:19:28 +00:00
int bookmarkContainerId, bool includeGroups = false, bool includeBookmarks = false);
public Task<IList<BookmarkContainer>> GetUserBookmarkContainers(string userId,
2021-11-14 01:19:28 +00:00
bool includeGroups = false, bool includeBookmarks = false);
public Task<BookmarkContainer?> CreateBookmarkContainer(string userId,
2021-11-14 01:19:28 +00:00
string title);
public Task<BookmarkContainer?> UpdateBookmarkContainer(string userId,
2021-11-14 01:19:28 +00:00
BookmarkContainer bookmarkContainer);
public Task<bool> DeleteBookmarkContainer(string userId, int bookmarkContainerId);
2021-11-14 01:19:28 +00:00
}
}