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

20 lines
690 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 IBookmarkGroupService {
2021-11-16 06:27:28 +00:00
public BookmarkGroup? GetBookmarkGroup(string userId,
2021-11-14 01:19:28 +00:00
int bookmarkGroupId, bool includeBookmarks = false);
public IList<BookmarkGroup> GetUserBookmarkGroups(string userId,
bool includeBookmarks = false);
2021-11-16 06:27:28 +00:00
public BookmarkGroup? CreateBookmarkGroup(string userId, string title,
2021-11-14 01:19:28 +00:00
string color, int bookmarkContainerId);
2021-11-16 06:27:28 +00:00
public BookmarkGroup? UpdateBookmarkGroup(string userId,
2021-11-14 01:19:28 +00:00
BookmarkGroup bookmarkGroup);
2021-11-16 06:27:28 +00:00
public bool DeleteBookmarkGroup(string userId, int bookmarkGroupId);
2021-11-14 01:19:28 +00:00
}
}