Added front-end ReactApp, with basic CRUD functionality for Bookmark entries
This commit is contained in:
@ -11,11 +11,12 @@ namespace YABA.Service.Interfaces
|
||||
Task<BookmarkDTO?> CreateBookmark(CreateBookmarkRequestDTO request);
|
||||
Task<BookmarkDTO?> UpdateBookmark(int id, UpdateBookmarkRequestDTO request);
|
||||
Task<IEnumerable<TagSummaryDTO>?> UpdateBookmarkTags(int id, IEnumerable<string> tags);
|
||||
IEnumerable<BookmarkDTO> GetAll();
|
||||
IEnumerable<BookmarkDTO> GetAll(bool isHidden = false);
|
||||
Task<BookmarkDTO?> Get(int id);
|
||||
IEnumerable<TagSummaryDTO>? GetBookmarkTags(int id);
|
||||
Task<int?> DeleteBookmark(int id);
|
||||
Task<IEnumerable<int>?> DeleteBookmarks(IEnumerable<int> ids);
|
||||
Task<IEnumerable<int>?> HideBookmarks(IEnumerable<int> ids);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
9
YABA.Service/Interfaces/IMiscService.cs
Normal file
9
YABA.Service/Interfaces/IMiscService.cs
Normal file
@ -0,0 +1,9 @@
|
||||
using YABA.Common.DTOs;
|
||||
|
||||
namespace YABA.Service.Interfaces
|
||||
{
|
||||
public interface IMiscService
|
||||
{
|
||||
public WebsiteMetaDataDTO GetWebsiteMetaData(string url);
|
||||
}
|
||||
}
|
||||
10
YABA.Service/Interfaces/ITagsService.cs
Normal file
10
YABA.Service/Interfaces/ITagsService.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using YABA.Common.DTOs.Tags;
|
||||
|
||||
namespace YABA.Service.Interfaces
|
||||
{
|
||||
public interface ITagsService
|
||||
{
|
||||
public IEnumerable<TagSummaryDTO> GetAll();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user