コード例 #1
0
        public IHttpActionResult AuthenticateUser([FromBody] AuthenticateUserRequest request)
        {
            AuthenticateUserResponse response = null;

            response = _iUserOperations.AuthenticateUser(request.Username, request.Password);

            if (response.IsUserAuthenticated)
            {
                return(Ok(response));
            }
            else
            {
                return(Ok(response));
            }
        }