feat(pictureManagement): add advanced filtering and search functionality for pictures

This commit is contained in:
shiyu
2025-06-02 12:52:46 +08:00
parent 686cc5fd11
commit 67168a99b6
5 changed files with 151 additions and 47 deletions
@@ -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);