Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damion 96 posts 331 karma points
    Apr 24, 2019 @ 09:00
    Damion
    0

    Extend Members then add members via code

    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

  • Damion 96 posts 331 karma points
    Apr 24, 2019 @ 10:14
    Damion
    1

    for anyone else looking to do this, I got it from an answer in this post

Please Sign in or register to post replies

Write your reply to:

Draft