コード例 #1
0
        public ActionResult Edit(string id)
        {
            long    idParse;
            WebNews model = new WebNews();

            if (long.TryParse(id, out idParse))
            {
                model = webnewsBll.GetModelById(idParse);
            }
            return(View(model));
        }