mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-11 18:10:10 +08:00
14 lines
566 B
C#
14 lines
566 B
C#
using Foxel.Models;
|
|
using Foxel.Models.Response.Picture;
|
|
|
|
namespace Foxel.Services.Management;
|
|
|
|
public interface IPictureManagementService
|
|
{
|
|
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);
|
|
Task<PaginatedResult<PictureResponse>> GetPicturesByUserIdAsync(int userId, int page = 1, int pageSize = 10);
|
|
}
|