BlazorStart/Start/Server/Data/Services/Interfaces/IBookmarkContainerService.cs
2021-11-15 22:27:28 -08:00

20 lines
763 B
C#

using System;
using System.Collections.Generic;
using Start.Server.Models;
using Start.Shared;
namespace Start.Server.Data.Services.Interfaces {
public interface IBookmarkContainerService {
public 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 BookmarkContainer? CreateBookmarkContainer(string userId,
string title);
public BookmarkContainer? UpdateBookmarkContainer(string userId,
BookmarkContainer bookmarkContainer);
public bool DeleteBookmarkContainer(string userId, int bookmarkContainerId);
}
}