public async UnaryResult <RecursoProjetoViewModel> GetAsync(GetRecursoProjetoQuery query)
 {
     return(await _mediator.Send(query));
 }
    public async Task <RecursoProjetoViewModel> Handle(GetRecursoProjetoQuery request, CancellationToken cancellationToken)
    {
        RecursoProjetoViewModel result = _mapper.Map <RecursoProjetoViewModel>(await _unitOfWork.RecursoProjetoRepository.GetAsync(request.Id));

        return(result);
    }