The two federal cases that mesmerized Albany this week — a state senator accused of trying to bribe his way onto the New York City mayoral ballot and an assemblyman charged with taking payoffs to write made-to-order legislation — come as federal prosecutors in Manhattan have increased their focus on political corruption, officials said on Friday.