public async Task <IActionResult> Dismiss(int relationshipId) { try { await relationshipService.DismissRequest(relationshipId); return(Ok("Dismissed")); } catch (ItemNotFoundException e) { return(BadRequest(e.Message)); } }