public IActionResult Post([FromBody] WorkflowRoleModel model)
        {
            try
            {
                var result = _service.AddWorkflowRole(model);

                return(Created("", result));
            }
            catch (Exception e)
            {
                Console.WriteLine(e);

                return(BadRequest($"{e.Message}"));
            }
        }
        public IActionResult Add(WorkflowRoleModel dt)
        {
            var result = _service.AddWorkflowRole(dt);

            return(View(result));
        }