public async Task <IActionResult> Delete(string id) { return(await FunctionWrapper.ExecuteAction(this, async() => { await _workflowTransitionRepository.Delete(new ObjectId(id)); })); }