コード例 #1
0
        /// <inheritdoc/>
        public async Task <string> Register(RegisterFullModel registerFullModel)
        {
            var userModel = _mapper.Map <User>(registerFullModel);
            await _userManager.CreateAsync(userModel);

            return(userModel.Id);
        }
コード例 #2
0
 public async Task <string> Register(RegisterFullModel registerFullModel)
 {
     return(await _registerService.Register(registerFullModel));
 }