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