mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-09-04 23:29:00 +08:00
feat(pictureManagement): add advanced filtering and search functionality for pictures
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Foxel.Services.Management;
|
||||
|
||||
public interface IPictureManagementService
|
||||
{
|
||||
Task<PaginatedResult<PictureResponse>> GetPicturesAsync(int page = 1, int pageSize = 10);
|
||||
Task<PaginatedResult<PictureResponse>> GetPicturesAsync(int page = 1, int pageSize = 10, string? searchQuery = null, int? userId = null);
|
||||
Task<PictureResponse> GetPictureByIdAsync(int id);
|
||||
Task<bool> DeletePictureAsync(int id);
|
||||
Task<BatchDeleteResult> BatchDeletePicturesAsync(List<int> ids);
|
||||
|
||||
Reference in New Issue
Block a user