public ActionResult History() { LeaveManager lm = new LeaveManager(); List <Leave> listhistory = lm.GetByother("未批准"); List <Leave> lists = listhistory.OrderByDescending(x => x.LeaveTime).ToList();; return(View(lists)); }