Ejemplo n.º 1
0
        public async Task <Result <Member> > SaveMemberInfoAsync(SaveMemberInfoRequest request)
        {
            GlobalStorage.CurrentMember = new Member
            {
                FirstName   = request.FirstName,
                LastName    = request.LastName,
                DateOfBirth = request.DateOfBirth,
                Interests   = request.Interests,
                Email       = request.Email,
                NickName    = request.NickName,
                Photo       = request.Photo
            };

            var result = new Result <Member>();

            result.SetSuccess(GlobalStorage.CurrentMember);

            return(result);
        }
Ejemplo n.º 2
0
 public Task <Result <Member> > SaveMemberInfoAsync(SaveMemberInfoRequest request)
 {
     return(_hubFacade.UserHub.SaveMemberInfoAsync(request));
 }
Ejemplo n.º 3
0
        public Task <Result <Member> > SaveMemberInfoAsync(SaveMemberInfoRequest request)
        {
            var requestModel = new object[] { request };

            return(ExecuteAsync <Member>(HubMethods.SaveMemberData, requestModel));
        }