public ActionResult GetAllHistory() { var historyRepo = new HistoryRepository(); return JsonNet(new Histories() { Items = historyRepo.GetAllHistory() }); }