예제 #1
0
        public JsonResult AddCatalog(string name)
        {
            var newCatalog = new Catalog(0, name);

            m_facade.AddCatalog(newCatalog);

            return(Json(new { success = true }, JsonRequestBehavior.AllowGet));
        }