Modified API returned data format to ditch use of GenericResponse wrapper
This commit is contained in:
@ -9,8 +9,6 @@ namespace YABA.Common.DTOs.Bookmarks
|
||||
public string? Description { get; set; }
|
||||
public string? Note { get; set; }
|
||||
public bool IsHidden { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Url { get; set; }
|
||||
public string? Url { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
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