Exemple #1
0
        public ActionResult <Vault> Get(int id)
        {
            Vault found = _vr.FindById(id);

            if (found == null)
            {
                return(BadRequest("No vault at that ID"));
            }
            return(Ok(found));
        }