コード例 #1
0
        public ActionResult Edit(long id = 0)
        {
            if (id == 0)
            {
                return(View(new Cat()));
            }
            var info = CatBll.GetById(id);

            return(View(info));
        }