Example #1
0
        public ActionResult <VaultKeeps> Delete([FromBody] VaultKeeps payload)
        {
            string userId = HttpContext.User.Identity.Name;

            payload.UserId = userId;
            if (_vkRepo.DeleteVaultKeeps(payload))
            {
                return(Ok("success"));
            }
            return(NotFound("No Keep FOund"));
        }