コード例 #1
0
        public ActionResult Add(Models.CatalogModels.CatalogCreate model)
        {
            CatalogManager catManager = new CatalogManager();

            catManager.AddCatalog(new Catalog {
                Description = model.Description, Code = model.Code
            });
            return(RedirectToAction("Index"));
        }