Exemple #1
0
        public ActionResult <IEnumerable <VaultKeep> > GetByVId(int vaultId)
        {
            var userId = HttpContext.User.Identity.Name;
            IEnumerable <Keep> results = _vkr.GetByVId(vaultId, userId);

            if (results == null)
            {
                return(BadRequest());
            }
            return(Ok(results));
        }