update quality
This commit is contained in:
@@ -58,4 +58,14 @@ public class Calculator
|
||||
|
||||
return new { Result = result };
|
||||
}
|
||||
|
||||
public object Reset(string @operator, object[] args)
|
||||
{
|
||||
// Return default inputs (operator = "add", args = [0, 0])
|
||||
return new
|
||||
{
|
||||
@operator = "add",
|
||||
args = new decimal[] { 0, 0 }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user