public ActionResult <VaultKeepsController> Delete(VaultKeep vaultKeep) { try { //FIXME Add the userId to vaultKeep dont trust the frontend //NOTE added userId to controller vaultKeep.UserId = HttpContext.User.FindFirstValue("Id"); return(Ok(_repo.DeleteVaultKeepById(vaultKeep))); } catch (Exception e) { return(BadRequest(e.Message)); } }