Added endpoint and functionality for getting, retrieving and deleting bookmarks, and for adding and removing tags for a bookmark
This commit is contained in:
12
YABA.Common/DTOs/CrudResultDTO.cs
Normal file
12
YABA.Common/DTOs/CrudResultDTO.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using YABA.Common.Extensions;
|
||||
using YABA.Common.Lookups;
|
||||
|
||||
namespace YABA.Common.DTOs
|
||||
{
|
||||
public class CrudResultDTO<T>
|
||||
{
|
||||
public CrudResultLookup CrudResult { get; set; }
|
||||
public T Entry { get; set; }
|
||||
public bool IsSuccessful => CrudResult.IsCrudResultSuccessful();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user