private dynamic Calculate(dynamic arg) { var operations = this.Bind <List <OperationRecord> >(); foreach (OperationRecord operation in operations) { operation.Result = _calculator.Calculate(operation.Operation); } return(_typeHandler.Encode(operations)); }