public void UpdateMember(Member member) { context.Entry(member).State = EntityState.Modified; }
public void AddMember(Member member) { context.Member.Add(member); }