public void signup(string email, string pass, Action <Result> cb = null)
        {
            UserSignupFormDto dto = new UserSignupFormDto();

            dto.email    = email;
            dto.password = pass;
            publicRest.signUp(dto, r => {
                onResult(r);
                cb?.Invoke(r);
            });
        }
        public void signUp(UserSignupFormDto dto, Action <Result> cb)
        {
            string urlTemp = "v1/public/signup";

            restApi.postJson(urlTemp, dto, cb);
        }