Beispiel #1
0
        //
        // GET: /Category/Tech/

        public ActionResult List()
        {
            var list = TechService.List();

            ViewBag.List = list;
            int      id       = Controleng.Common.CECRequest.GetQueryInt("id", 0);
            TechInfo techInfo = null;

            if (id > 0)
            {
                techInfo = TechService.GetById(id);
            }
            return(View(techInfo));
        }