public IActionResult Delete(int id)
        {
            try
            {
                _service.DeleteWorkflowRole(id);

                return(NotFound());
            }
            catch (Exception e)
            {
                Console.WriteLine(e);

                return(BadRequest($"{e.Message}"));
            }
        }
 public IActionResult Delete(int id)
 {
     _service.DeleteWorkflowRole(id);
     return(RedirectToAction("Index"));
 }