Пример #1
0
        public ActionResult History()
        {
            LeaveManager lm          = new LeaveManager();
            List <Leave> listhistory = lm.GetByother("未批准");
            List <Leave> lists       = listhistory.OrderByDescending(x => x.LeaveTime).ToList();;

            return(View(lists));
        }