public JsonResult getDepartment(int DepartmentID)
        {
            try
            {
                SGIValencyDB   db   = new SGIValencyDB();
                comDepartments dept = new hdlDepartments().SelectByID(DepartmentID);


                return(Json(dept, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                Response.StatusCode = 500;
                return(Json(new { error = ex.Message }));
            }
        }
        public JsonResult getDepartOperations(int DepartmentID)
        {
            comDepartments dept = new hdlDepartments().SelectByID(DepartmentID);

            return(Json(dept.comUserOperationList, JsonRequestBehavior.AllowGet));
        }