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

20 lines
827 B
C#
Raw Normal View History

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