public void TestGetOddOrEven(int value, string result) { string oddOrEven = _valueServices.GetOddOrEven(value); Assert.Equal(result, oddOrEven); }
public ActionResult <string> GetOddOrEven(int value) { return(Ok(_valueServices.GetOddOrEven(value))); }