Beispiel #1
0
        public async Task <IActionResult> DeleteRuleAsync(int id)
        {
            bool success = await _exerciseManager.DeleteRuleAsync(id);

            if (success)
            {
                return(Ok());
            }
            else
            {
                return(BadRequest());
            }
        }