Exemplo n.º 1
0
        public ActionResult <IEnumerable <Keep> > GetVaultKeeps(int id)
        {
            string             userId  = HttpContext.User.Identity.Name;
            IEnumerable <Keep> results = _vr.GetVaultKeeps(id, userId);

            if (results == null)
            {
                return(BadRequest("something has gone horribly wrong"));
            }
            return(Ok(results));
        }