Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Previously I created a service to seed an app with some initial members
public void AddMember(Member member) { if (!_memberService.Exists(member.Username) && member.Username != null) { _memberService.CreateWithIdentity(member.Username, member.Email, member.Password, _memberService.GetDefaultMemberType()); } }
I have now extended the members via the back office to include details such as name, address, company etc.
How would I go about including these in the service? Is there a good how-to anywhere on this?
thanks
for anyone else looking to do this, I got it from an answer in this post
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Extend Members then add members via code
Previously I created a service to seed an app with some initial members
I have now extended the members via the back office to include details such as name, address, company etc.
How would I go about including these in the service? Is there a good how-to anywhere on this?
thanks
for anyone else looking to do this, I got it from an answer in this post
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.