public void deleteMember(object sender, CommandEventArgs e) { int memid = 0; if (int.TryParse(e.CommandArgument.ToString(), out memid)) { cms.businesslogic.member.Member mem = new global::umbraco.cms.businesslogic.member.Member(memid); if (mem != null) mem.delete(); bindRp(); } }
public void deleteMember(object sender, CommandEventArgs e) { int memid = 0; if (int.TryParse(e.CommandArgument.ToString(), out memid)) { cms.businesslogic.member.Member mem = new global::umbraco.cms.businesslogic.member.Member(memid); if (mem != null) { mem.delete(); } bindRp(); } }