public bool AddBusinessProces(BusinessProces org)
 {
     try
     {
         entities.BusinessProcess.Add(org);
         entities.SaveChanges();
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
 public bool DeleteBusinessProces(int mCustID)
 {
     try
     {
         BusinessProces data = entities.BusinessProcess.Where(m => m.BusinessProcesID == mCustID).FirstOrDefault();
         entities.BusinessProcess.Remove(data);
         entities.SaveChanges();
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
        public bool UpdateBusinessProces(BusinessProces org)
        {
            try
            {
                BusinessProces data = entities.BusinessProcess.Where(m => m.BusinessProcesID == org.BusinessProcesID).FirstOrDefault();

                data.BPMID        = org.BPMID;
                data.DocumentNo   = org.DocumentNo;
                data.DocumentName = org.DocumentName;
                data.FolderName   = org.FolderName;
                entities.SaveChanges();
                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }