public Reply Delete(FriendData friendData) { try { _sessionService.Validate(friendData.UserId, friendData.SessionToken); } catch (InvalidSessionException) { return(new Reply(HttpStatusCode.BadRequest, "Invalid session")); } var count = _friendRequestService.Delete(friendData.UserId, friendData.FriendId); return(new Reply($"Friend requests removed (Count: {count})")); }