예제 #1
0
        public ActionResult Edit(long id)
        {
            var model           = new CreateEditViewModel();
            var productCategory = productCategoryProvider.GetProductCategory(id);

            mapper.Map(productCategory, model);

            return(PartialView("CreateEdit", model));
        }