private void btnCyrl2Latyn_Click(object sender, EventArgs e) { string cyrlText = this.txtCyrl.Text; string latynText = QazLatynHelper.Cyrl2Latyn(cyrlText); this.txtLatyn.Text = latynText; }
public IActionResult Cyrl2Latyn(string cyrlText) { string latynText = QazLatynHelper.Cyrl2Latyn(cyrlText); return(Json(new { latynText })); }