22 lines
611 B
C#
22 lines
611 B
C#
using AutoMapper;
|
|
using MediatR;
|
|
using ExpenseTracker.Application.Common.Models;
|
|
|
|
namespace ExpenseTracker.Application.Users.Queries.GetWithPagination;
|
|
|
|
public class GetUserssWithPaginationQueryHandler : IRequestHandler<GetUsersWithPaginationQuery, PaginatedList<UserDto>>
|
|
{
|
|
private readonly IMapper _mapper;
|
|
|
|
public GetUserssWithPaginationQueryHandler(
|
|
IMapper mapper)
|
|
{
|
|
_mapper = mapper;
|
|
}
|
|
|
|
public async Task<PaginatedList<UserDto>> Handle(GetUsersWithPaginationQuery request, CancellationToken cancellationToken)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|