public async Task <IEnumerable <ExpenseDto> > GetAllExpenses()
        {
            List <ExpenseDto> expenses = new List <ExpenseDto>();
            IEnumerable <ExpenseEntityDesign> result = await _expenseRepository.GetAllExpense();

            foreach (ExpenseEntityDesign item in result)
            {
                ExpenseDto expense = new ExpenseDto();
                expense.Name        = item.Name;
                expense.Amount      = item.Amount;
                expense.Description = item.Description;
                expense.ExpenseDate = item.ExpenseDate;

                expenses.Add(expense);
            }
            return(expenses);
        }