The District of Columbia and 48 states have a winner-takes-all rule for the Electoral College. In these States, whichever candidate receives a majority of the popular vote, or a plurality of the popular vote (less than 50 percent but more than any other candidate), takes all of the state's Electoral votes.
Hope this helps