Bulk Actions for Reading Lists (#3035)
This commit is contained in:
parent
1918c9305e
commit
6434ed7c9b
13 changed files with 965 additions and 16 deletions
10
API/DTOs/ReadingLists/DeleteReadingListsDto.cs
Normal file
10
API/DTOs/ReadingLists/DeleteReadingListsDto.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace API.DTOs.ReadingLists;
|
||||
|
||||
public class DeleteReadingListsDto
|
||||
{
|
||||
[Required]
|
||||
public IList<int> ReadingListIds { get; set; }
|
||||
}
|
9
API/DTOs/ReadingLists/PromoteReadingListsDto.cs
Normal file
9
API/DTOs/ReadingLists/PromoteReadingListsDto.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace API.DTOs.ReadingLists;
|
||||
|
||||
public class PromoteReadingListsDto
|
||||
{
|
||||
public IList<int> ReadingListIds { get; init; }
|
||||
public bool Promoted { get; init; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue