public ActionResult <string> RemoveVaultKeep([FromBody] VaultKeep vk) { try { string userId = HttpContext.User.FindFirstValue("Id"); return(Ok(_vks.RemoveVaultKeep(vk, userId))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <string> RemoveVaultKeep([FromBody] VaultKeep vk) { try { string userId = HttpContext.User.FindFirstValue("Id"); return(Ok(_vks.RemoveVaultKeep(vk, userId))); } catch (Exception e) { return(BadRequest(e.Message)); } }