public ActionResult <IEnumerable <Keep> > Get(int vaultId) { string userId = HttpContext.User.Identity.Name; VaultKeep found = _vkr.GetById(vaultId, userId); if (found == null) { return(BadRequest()); } return(Ok(found)); }
public ActionResult <IEnumerable <Keep> > Get(int vaultId) { string userId = HttpContext.User.Identity.Name; VaultKeep found = _vkr.GetById(vaultId, userId); if (found == null) { return(BadRequest()); } return(Ok(found)); }