示例#1
0
        public ActionResult Welcome()
        {
            var manager = new JobCardManager();
            var userID  = User.Identity.GetUserId <int>();
            var view    = manager.GetLastJobCards(5, manager.GetUserID(User.Identity.Name), true);

            return(View(view));
        }