public int DeleteCRMPolicy(CRMPolicy theCRMPolicy)
 {
     return(CRMPolicyIntegration.DeleteCRMPolicy(theCRMPolicy));
 }
 public int UpdateCRMPolicy(CRMPolicy theCRMPolicy)
 {
     return(CRMPolicyIntegration.UpdateCRMPolicy(theCRMPolicy));
 }
 public int UpdateCRMPolicyTypes(List <CRMPolicy> theCRMPolicyList)
 {
     return(CRMPolicyIntegration.UpdateCRMPolicyTypes(theCRMPolicyList));
 }
 public int InsertCRMPolicy(CRMPolicy theCRMPolicy)
 {
     return(CRMPolicyIntegration.InsertCRMPolicy(theCRMPolicy));
 }
 public int InsertCRMPolicyTypes(List <CRMPolicy> theCrmPolicyList)
 {
     return(CRMPolicyIntegration.InsertCRMPolicyTypes(theCrmPolicyList));
 }
 public List <CRMPolicy> GetCRMPolicyTypeOfficewiseList(bool allOffices = false, bool showDeleted = false)
 {
     return(CRMPolicyIntegration.GetCRMPolicyTypeOfficewiseList(allOffices, showDeleted));
 }
 /// <summary>
 /// Show PolicyTypes useing INNER JOIN on CRM_MST_PolicyTypeOfficewise)
 /// </summary>
 /// <param name="ShowInOfficewise">If false show only those PolicyTypes that are not in CRM_MST_PolicyTypeOfficewise</param>
 /// <returns></returns>
 public List <CRMPolicy> GetCRMPolicyTypeListByOfficeID(bool showInOfficewise = false)
 {
     return(CRMPolicyIntegration.GetCRMPolicyTypeListByOfficeID(showInOfficewise));
 }
 public CRMPolicy GetCRMPolicyTypeByID(int policyTypeID)
 {
     return(CRMPolicyIntegration.GetCRMPolicyTypeByID(policyTypeID));
 }
 public List <CRMPolicy> GetCRMPolicyTypeList()
 {
     return(CRMPolicyIntegration.GetCRMPolicyTypeList());
 }
 public List <CRMPolicy> GetCRMPolicyListByID(int policyID)
 {
     return(CRMPolicyIntegration.GetCRMPolicyListByID(policyID));
 }