and last but not least , not only had alex taken credit for janet 's work on most of the cases that the two of them had been assigned to at the da 's office , he got a promotion that should have been janet 's .