Skip to content

Instantly share code, notes, and snippets.

@mortezadalil
Created December 8, 2019 09:38
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/7dba95524b9ccf92ba2d42a306bab00e to your computer and use it in GitHub Desktop.
Save mortezadalil/7dba95524b9ccf92ba2d42a306bab00e to your computer and use it in GitHub Desktop.
public interface IUseCaseRequestHandler<in TUseCaseRequest, out TUseCaseResponse> where TUseCaseRequest : IUseCaseRequest<TUseCaseResponse>
{
Task HandleAsync(TUseCaseRequest message, IOutputPort<TUseCaseResponse> outputPort);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment