Tuning superconductivity by carrier injection