Example #1
0
 public double Divide([FromBody] BinaryOperands <double> ops)
 {
     return(ops.X / ops.Y);
 }
Example #2
0
 public int Multiply([FromBody] BinaryOperands <int> ops)
 {
     return(ops.X * ops.Y);
 }