Esempio n. 1
0
        public static CoinMarketQuotesLatestResponseModel Fail(string error)
        {
            var model = new CoinMarketQuotesLatestResponseModel();

            model.Error    = error;
            model.HasError = true;
            return(model);
        }
Esempio n. 2
0
        public static CoinMarketQuotesLatestResponseModel OK(string res)
        {
            var model = new CoinMarketQuotesLatestResponseModel();

            model.Result   = res;
            model.HasError = false;
            return(model);
        }