using System.Threading.Tasks; using Refit; using System.Net.Http; namespace Start.Shared.Api { public interface IBookmarksApi { [Get("/{bookmarkId}")] Task> GetBookmark(int bookmarkId); [Post("/Create")] Task> CreateBookmark(string title, string url, string? notes, int sortOrder, int bookmarkGroupId); [Delete("/Delete/{bookmarkId}")] Task DeleteBookmark(int bookmarkId); } }