Exemplo n.º 1
0
        public decimal Mult([FromBody] OperationModel operationModel)
        {
            var operation = new BaseOperations();

            return(operation.Multiplication(operationModel.ValueA, operationModel.ValueB));
        }
Exemplo n.º 2
0
 public EvaluationResult Evaluate(EvaluationState state, ReadOnlyList <IEvaluate> args, ReadOnlyList <Object> data)
 {
     return(BaseOperations.Multiplication(args[0].Evaluate(state), args[1].Evaluate(state)));
 }