コード例 #1
0
        //
        // GET: CreateEdit
        public ActionResult CreateEdit(string iid)
        {
            UItemCategory itemCategory = new UItemCategory();

            Guid itemCatId;

            if (Guid.TryParse(iid, out itemCatId))
            {
                ViewBag.Action             = Resources.Global_String_Edit;
                itemCategory._ItemCategory = itemCategoryService.GetItemCategory(itemCatId);
            }
            return(View(itemCategory));
        }