public ActionResult RowData(int id) { TimeSlot timeslot = db.TimeSlots.Find(id); return PartialView("GridData", new TimeSlot[] { timeslot }); }