예제 #1
0
        public ActionResult <VaultKeep> Create([FromBody] VaultKeep vaultKeepData)
        {
            VaultKeep newVaultKeep = _vr.CreateVaultKeep(vaultKeepData);

            if (newVaultKeep == null)
            {
                return(BadRequest("Can't add Keep"));
            }
            return(Ok(newVaultKeep));
        }