Copied to clipboard

Flag this post as spam?

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


  • Rotem Orbach 121 posts 607 karma points
    Mar 28, 2019 @ 16:11
    Rotem Orbach
    0

    Save creates a new member instead of overwriting

    Hi all, From some reason,

    ApplicationContext.Current.Services.MemberService.Save 
    

    creates a new member, instead of overwriting the old one.

    Anyone?

  • AddWeb Solution Pvt. Ltd 109 posts 360 karma points
    Mar 29, 2019 @ 05:42
    AddWeb Solution Pvt. Ltd
    100

    Hi, Rotem Orbach

    You should be able to adapt the below for your needs

    public static IMemberService MemberService
     {
         get { return ApplicationContext.Current.Services.MemberService; }
     }
    
     public void AssignUser(IMember member)
     {        
        MemberService.Save(member);
     }
    

    Hope you got as you need. Thanks.

  • 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.

Please Sign in or register to post replies