public ActionResult <string> Sum(string firstNumber, string secondNumber) { if (_utils.IsNumeric(firstNumber) && _utils.IsNumeric(secondNumber)) { var sum = _utils.ConvertToDecimal(firstNumber) + _utils.ConvertToDecimal(secondNumber); return(Ok(sum.ToString())); } return(BadRequest("Invalid Input")); }