public async Task <IActionResult> EditRuleAsync([FromBody] RuleDto rule) { return(Ok(await _exerciseManager.EditRuleAsync(rule))); }