public async Task <IActionResult> Create([FromForm] ActionModel action)
        {
            try
            {
                if (action != null)
                {
                    await _actionService.AddAsync(action);
                }

                return(RedirectToAction(nameof(Index)));
            }
            catch
            {
                return(View());
            }
        }