public async Task <IActionResult> Edit(SysDepartmentViewModel model)
        {
            try
            {
                await _departmentService.UpdateSysDeparment(model);

                return(RedirectToAction("Index"));
            }
            catch (Exception)
            {
                throw;
            }
            return(View(model));
        }