public IActionResult Add(Book libraryAsset) { var query = _libraryAsset.AddRecord(libraryAsset); if (query != null) { return(RedirectToAction("AssetList")); } return(View(libraryAsset)); }