public ActionResult AllFeedings() { try { var model = new ReportModel(); DataTable data = model.GetAllFeedings(); ViewBag.Feedings = data; } catch (Exception e) { System.Diagnostics.Debug.WriteLine(e); } return(View()); }