public ActionResult Delete([Bind(Include = "Id,ParentId,Name,Description,ProcessTypeId")] AMProcess ProcessObj)
        {
            int CurrentId = 0;

            Int32.TryParse(ProcessObj.Id.ToString(), out CurrentId);
            if (CurrentId == 0)
            {
                return(View("Error"));
            }
            if (!DMLObj.ProcessHasChild(CurrentId) && !DMLObj.ProcessHasDocument(CurrentId) && DMLObj.DeleteProcessById(CurrentId))
            {
                return(RedirectToAction("Index", "SysAdmin"));
            }
            return(View("Error"));
        }