Esempio n. 1
0
        public JsonResult CalculateLength(int input, string from, string to)
        {
            double length = ConversionService.GetLength(input, from, to);

            return(Json(Math.Round(length, 12), JsonRequestBehavior.AllowGet));
        }