public int InsertClubMember(clsClubMember cc) { try { dataProvider.ExecuteNonQuery("usp_InsertClubMember", cc.RegistrationId, cc.ClubMemberTypeId, cc.ClubId, cc.ClubMemberDesc, cc.PortalID, cc.CreatedById, cc.ModifiedById); } catch (Exception ex) { Exceptions.LogException(ex); } return(0); }
public int UpdateClubMember(clsClubMember ccm) { int i = 0; try { dataProvider.ExecuteNonQuery("usp_UpdateClubMember", ccm.ClubMemberId, ccm.RegistrationId, ccm.ClubMemberTypeId, ccm.ClubId, ccm.ClubMemberDesc, ccm.PortalID, ccm.ModifiedById); return(i); } catch (Exception ex) { Exceptions.LogException(ex); } return(i); }