mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(dir): 🐛 resolve CS8603 warning
This commit is contained in:
parent
2be4ae6ea4
commit
75327b7804
1 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ namespace FilterLists.Directory.Application.Queries
|
|||
{
|
||||
public static class GetListDetails
|
||||
{
|
||||
public class Query : IRequest<ListDetailsVm>
|
||||
public class Query : IRequest<ListDetailsVm?>
|
||||
{
|
||||
public Query(int id)
|
||||
{
|
||||
|
|
@ -23,7 +23,7 @@ public Query(int id)
|
|||
public int Id { get; }
|
||||
}
|
||||
|
||||
internal class Handler : IRequestHandler<Query, ListDetailsVm>
|
||||
internal class Handler : IRequestHandler<Query, ListDetailsVm?>
|
||||
{
|
||||
private readonly IQueryContext _context;
|
||||
private readonly IMapper _mapper;
|
||||
|
|
@ -34,7 +34,7 @@ public Handler(IQueryContext context, IMapper mapper)
|
|||
_mapper = mapper;
|
||||
}
|
||||
|
||||
public async Task<ListDetailsVm> Handle(
|
||||
public async Task<ListDetailsVm?> Handle(
|
||||
Query request,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue