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); }
protected virtual void OnUserSignOut(MidgeUserEventArgs e) { UserSignOut?.Invoke(this, e); }