public ActionResult BadgeHistoryReceiver(string id) { var service = new GstService(SystemContext.GstConnectionString); var result = service.ReadAllBadgeReceivedByReceiver(id); return(View("BadgeHistorySearch", result)); }
// GET: Tree/GridView public ActionResult GridView(string id) { var service = new GstService(SystemContext.GstConnectionString); _badgeList = service.ReadAllBadgeReceivedByReceiver("10010"); // ID: used to get Badges received by Person with ID return(View(_badgeList)); }