public bool AreTwoNumbersEqual([FromBody] TwoNumbers twoNumbers) { if (twoNumbers.Num1 == twoNumbers.Num2) { return(true); } return(false); }