public void AssociateEventMemberWithEvent(Event e, EventMember em, EventMembershipRoles.ROLES role) { var entry = new Event_EventMember { EventId = e.Id, EventMemberId = em.Id, Role = EventMembershipRoles.RoleId(role) }; dbConnection.InsertOrReplaceAsync(entry); }
public void AddEventMember(EventMember member) { localDb.WriteEventMember(member); }
public void WriteEventMember(EventMember member) { dbConnection.InsertOrReplaceAsync(member); }