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

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