public ActionResult <IEnumerable <Vault> > GetVaultsByUserId() { string CurrentUserId = HttpContext.User.Identity.Name; IEnumerable <Vault> result = _vaultRepo.GetAllVaultsByUserId(CurrentUserId); if (result != null) { return(Ok(result)); } return(NotFound()); }