I am working with a Slider bar with 2 handles C#

Its using a Slider called Temperature and filters based on it. I am trying to find a way to move these handles but cant find a way with C# I have seen this but not really got it to perform anything
Dictionary<string, string> scrollObject = new Dictionary<string, string>();
scrollObject.Add(“direction”, “down”);
scrollObject.Add(“element”, <element_id>);
((IJavaScriptExecutor)driver).ExecuteScript(“mobile: scroll”, scrollObject));
I have also tried
action.Press(_IOSdriver.FindElementByName(“slider-default-handle”));
action.MoveTo(239,405);
action.Wait(3000);
action.Release();
action.Perform();