Пример #1
0
 public int InsertSponsorLevel(clsSponsorLevel ccm)
 {
     try
     {
         dataProvider.ExecuteNonQuery("usp_InsertSponsorLevel", ccm.SponsorLevelValue, ccm.SponsorLevelDesc, ccm.PortalID, ccm.CreatedById, ccm.ModifiedById);
     }
     catch (Exception ex)
     {
         Exceptions.LogException(ex);
     }
     return(0);
 }
Пример #2
0
        public int UpdateSponsorLevel(clsSponsorLevel ccm)
        {
            int i = 0;

            try
            {
                dataProvider.ExecuteNonQuery("usp_UpdateSponsorLevel", ccm.SponsorLevelId, ccm.SponsorLevelValue, ccm.SponsorLevelDesc, ccm.PortalID, ccm.ModifiedById);
                return(i);
            }
            catch (Exception ex)
            {
                Exceptions.LogException(ex);
            }
            return(i);
        }