public ActionResult IndexChildAction() { List <MoneyRecordViewModel> recordList = new List <MoneyRecordViewModel>(); var items = accountBooksService.GetTopNAccount(100); recordList = items.Select(d => new MoneyRecordViewModel { IncomeExpense = (IncomeExpenseEnums)d.Categoryyy, PostTime = d.Dateee, Amount = d.Amounttt, Remark = d.Remarkkk }).ToList(); return(View(recordList)); }