Пример #1
0
 public void EnsureRecord(UserDetailsToken userDetailsToken)
 {
     _userDetailsRepository.EnsureRecord(userDetailsToken.AsUserDetails());
 }
Пример #2
0
 public IHttpActionResult SaveUserDetails(UserDetailsToken token)
 {
     token.id = User.Identity.GetUserId();
     token    = _accountService.Save(token);
     return(Ok(token));
 }
Пример #3
0
 public UserDetailsToken Save(UserDetailsToken token)
 {
     return(_userDetailsRepository.Save(token.AsUserDetails()).AsToken());
 }