Skip to content

Instantly share code, notes, and snippets.

@mortezadalil
Created December 12, 2019 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mortezadalil/910592cde065fefe928f74583206b52e to your computer and use it in GitHub Desktop.
Save mortezadalil/910592cde065fefe928f74583206b52e to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Cms.Core.Dtos;
using Cms.Core.Queries;
using MediatR;
namespace Cms.Core.Handlers
{
public class GetAllPostHandler : IRequestHandler<GetAllPostQuery, List<PostWithoutCommentsDto>>
{
public GetAllPostHandler()
{
}
public async Task<List<PostWithoutCommentsDto>> Handle(GetAllPostQuery request, CancellationToken cancellationToken)
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment