Hillary Clinton has won another state. She has won Massachusetts, but by less than 2%. She won 50.3% of votes and Bernie Sanders won 48.5%. As to the delegate math, that means that Clinton won 45 delegates and Sanders won 43.
In the Republican primary, Donald Trump ended up winning 49% of the vote and earning 22 delegates. John Kasich and Marco Rubio each won 8 delegates and Ted Cruz won 4 delegates. Since Ben Carson did not reach the 5% threshold, he walked away with no Bay State delegates.