コード例 #1
0
        public ActionResult <VaultKeeps> Post([FromBody] VaultKeeps vaultKeep)
        {
            vaultKeep.UserId = HttpContext.User.Identity.Name;
            VaultKeeps result = _vkRepo.AddVaultKeeps(vaultKeep);

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