Created
December 12, 2019 17:58
-
-
Save mortezadalil/910592cde065fefe928f74583206b52e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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