Exemple #1
0
        public DataRespond signout([FromBody] UserSignOut user)
        {
            DataRespond data = new DataRespond();

            try
            {
                m_authService.logout(user.email);
                data.success = true;
            }
            catch (Exception e)
            {
                data.success = false;
                data.error   = e;
            }
            return(data);
        }
Exemple #2
0
 protected virtual void OnUserSignOut(MidgeUserEventArgs e)
 {
     UserSignOut?.Invoke(this, e);
 }