Beispiel #1
0
 public ActionResult GetRecentHistory()
 {
     var historyRepo = new HistoryRepository();
     return JsonNet(new Histories()
     {
         Items = historyRepo.GetRecentHistory(DateTime.UtcNow.AddDays(-7))
     });
 }