public ActionResult Delete(Guid id) { try { string result = departmentService.DeleteDepartmentByID(id); return(RedirectToAction("Index")); } catch (Exception ex) { return(ShowExceptionMessage(ex)); } }