public ServiceResponse <IList <IncomeListDTO> > GetAll(long idUsuario, long idWallet) { var incomes = _incomeRepository.GetAllIncomes(idUsuario, idWallet).ToList(); var incomesDTO = _mapper.Map <IList <IncomeListDTO> >(incomes); return(ServiceResponse <IList <IncomeListDTO> > .SetSuccess(incomesDTO)); }