Beispiel #1
0
        public ActionResult <IEnumerable <Vault> > GetUsers(string id)
        {
            IEnumerable <Vault> vaultList = _vr.GetAllForUser(id);

            if (vaultList != null)
            {
                return(Ok(vaultList));
            }
            return(BadRequest("Could not find vault by id"));
        }