public async Task <IActionResult> Execute([FromRoute] string entityType) { var before = new SubsidizedPlacement { State = "Approved" }; var after = new SubsidizedPlacement { State = "Waiting" }; await _ruleService.ExecuteRulesByEntityType(entityType, before, after); return(new OkResult()); }