Kyle Edmund beat Felix Auger-Aliassime in straight sets 6-4 6-4 to go through to the third round of the Mexican Open in Acapulco.