コード例 #1
0
        public async Task <IActionResult> ExternalLoginAsync(SocialUser dto)
        {
            try
            {
                var result = await _aApplicationUserRepository.ExternalLoginAsync(dto);

                if (!string.IsNullOrEmpty(result.Key))
                {
                    return(OKResult(0, result.Key));
                }
                return(OKResult(1, result.Key, result.Value));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }