Ejemplo n.º 1
0
        public List <ExpenseDTO> GetExpensesForThisMonth(int userId)
        {
            List <Expense>    expenses    = repository.GetExpensesForThismonth(userId);
            List <ExpenseDTO> expenseDTOs = _mapper.Map <List <ExpenseDTO> >(expenses);

            return(expenseDTOs);
        }