示例#1
0
        public static CoinMarketQuotesLatestResponseModel Fail(string error)
        {
            var model = new CoinMarketQuotesLatestResponseModel();

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

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