Exemplo n.º 1
0
        public async Task <IActionResult> Like(
            [FromServices] ILikeUseCase useCase,
            [FromRoute][Required] Guid articleId)
        {
            useCase.SetOutputPort(this);

            await useCase.Execute(articleId)
            .ConfigureAwait(false);

            return(this._viewModel !);
        }