Esempio n. 1
0
        public ActionResult <Vault> AddKeep([FromBody] VaultKeeps toAdd)
        {
            VaultKeeps newAdd = _vkr.AddToVault(toAdd);

            if (newAdd == null)
            {
                return(BadRequest("Failed to add keep to vault!"));
            }
            return(Ok(newAdd));
        }