using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Refit; namespace Start.Shared.Api { public interface IBookmarkContainersApi { [Get("/")] Task>> GetAllBookmarkContainers(); [Get("/{bookmarkContainerId}")] Task> GetBookmarkContainer(int bookmarkContainerId); [Post("/Create")] Task> CreateBookmarkContainer( [Body(BodySerializationMethod.Serialized)] string title); [Delete("/Delete/{bookmarkContainerId}")] Task DeleteBookmarkContainer(int bookmarkContainerId); } }