public async Task <LancamentosViewModel> GetById(int?id) { Lancamentos lancamentos = await _lancamentosRepository.GetById(id); return(_mapper.Map <LancamentosViewModel>(lancamentos)); }