public int InsertSponsorType(clsSponsorType ccm) { try { dataProvider.ExecuteNonQuery("usp_InsertSponsorType", ccm.SponsorTypeValue, ccm.SponsorTypeDesc, ccm.PortalID, ccm.CreatedById, ccm.ModifiedById); } catch (Exception ex) { Exceptions.LogException(ex); } return(0); }
public int UpdateSponsorType(clsSponsorType ccm) { int i = 0; try { dataProvider.ExecuteNonQuery("usp_UpdateSponsorType", ccm.SponsorTypeId, ccm.SponsorTypeValue, ccm.SponsorTypeDesc, ccm.PortalID, ccm.ModifiedById); return(i); } catch (Exception ex) { Exceptions.LogException(ex); } return(i); }