Ejemplo n.º 1
0
        public ActionResult <VaultKeep> Post([FromBody] VaultKeep kp)
        {
            kp.UserId = HttpContext.User.Identity.Name;
            VaultKeep result = _repo.AddKeepByVaultId(kp);

            return(Created("/api/vaultkeep/" + result.Id, result));
        }