Пример #1
0
        public IActionResult GoogleAuth([FromBody] GoogleAuthenticateModel authModel)
        {
            if (!ModelState.IsValid)
            {
                return(Ok(BaseResponse <string> .BadRequest()));
            }
            var result = _authervice.AuthenticateByGoogle(authModel);

            return(Ok(result));
        }