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)); }
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)); }