public JsonResult GetSigleDataByID(int gid) { DivisionNumber temp = null; try { temp = myRepo.GetSingle_T_DivisionNumber(gid); return(Json(new { success = "200", data = temp })); } catch (Exception ex) { return(Json(new { success = "404", error = ex.ToString() })); } }
private void NumericBoxDivision_ValueChanged(object sender, EventArgs e) => labelDivisionNumber.Text = "disk is divided\r\ninto " + DivisionNumber.ToString() + " points";