コード例 #1
0
        public IActionResult Add(Book libraryAsset)
        {
            var query = _libraryAsset.AddRecord(libraryAsset);

            if (query != null)
            {
                return(RedirectToAction("AssetList"));
            }

            return(View(libraryAsset));
        }