2021-11-13 03:21:59 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Start.Server.Models;
|
|
|
|
|
|
|
|
|
|
namespace Start.Server.Data.Services.Interfaces {
|
|
|
|
|
public interface IBookmarkService {
|
|
|
|
|
public (BookmarkStatus, Bookmark?) GetBookmark(string userId, int bookmarkId);
|
|
|
|
|
public IList<Bookmark> GetUserBookmarks(string userId);
|
|
|
|
|
|
2021-11-14 01:19:28 +00:00
|
|
|
|
public (BookmarkStatus, Bookmark?) CreateBookmark(string userId, string title, string url,
|
|
|
|
|
string? notes, int bookmarkGroupId);
|
2021-11-13 03:21:59 +00:00
|
|
|
|
public (BookmarkStatus, Bookmark?) UpdateBookmark(string userId, Bookmark bookmark);
|
|
|
|
|
public BookmarkStatus DeleteBookmark(string userId, int bookmarkId);
|
|
|
|
|
}
|
|
|
|
|
}
|