public bool RCMDetailControlAuditStep(RCMDetailControlAuditStep org)
 {
     try
     {
         entities.RCMDetailControlAuditSteps.Add(org);
         entities.SaveChanges();
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
 public bool DeleteRCMDetailControlAuditStep(int mCustID)
 {
     try
     {
         RCMDetailControlAuditStep data = entities.RCMDetailControlAuditSteps.Where(m => m.RCMDetailControlAuditStepID == mCustID).FirstOrDefault();
         entities.RCMDetailControlAuditSteps.Remove(data);
         entities.SaveChanges();
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
        public bool UpdateRCMDetailControlAuditStep(RCMDetailControlAuditStep org)
        {
            try
            {
                RCMDetailControlAuditStep data = entities.RCMDetailControlAuditSteps.Where(m => m.RCMDetailControlAuditStepID == org.RCMDetailControlAuditStepID).FirstOrDefault();

                data.RCMDetailRiskControlID = org.RCMDetailRiskControlID;
                data.AuditStepName          = org.AuditStepName;
                data.Status = org.Status;
                data.WorkDoneDescription = org.WorkDoneDescription;
                data.WorkDoneResult      = org.WorkDoneResult;


                entities.SaveChanges();
                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }