public JsonResult GetbyID() { int ID = 12; var Employee = scb.GetAllSchedule().Single(x => x.ScheduleId.Equals(ID)); return(Json(Employee, JsonRequestBehavior.AllowGet)); }
public JsonResult GetbyID() { int ID = 12; var Employee = scb.GetAllSchedule().Single(x => x.ScheduleId.Equals(ID)); return(Json(Employee, JsonRequestBehavior.AllowGet)); }