It might help you to set your expectations more realistically, as the reason you got upset was probably that your expectations were violated.
try to keep in mind that league is an objective based game, not a killing spree game. Killing enemies can help facilitate the taking of objective advantages, and dying can cost you and your team advantages, but simply dying or getting kills is not inherently good or bad with regards to the game. What is good or bad is only what is done after those kills/deaths occur.
This is why teams make comebacks all the time when their opponents sweep them but then waste their advantage by not taking objectives and simply trying to farm more gold so that they can kill the enemies harder when they respawn.
Edit: This can apply to other players too. If you're upset that another player is trolling or flaming or feeding, remember that they are probably just upset over something and don't actually mean whatever insult they just slung your way. I know this is easier said than done, but it's still true.