Exemplo n.º 1
0
 public ActionResult <String> DeleteRelationship(int vaultId, int keepId)
 {
     try
     {
         var userId = HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value;
         _vks.DeleteRelationship(vaultId, keepId, userId);
         return(Ok("Deleted"));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }