public static CoinMarketQuotesLatestResponseModel Fail(string error) { var model = new CoinMarketQuotesLatestResponseModel(); model.Error = error; model.HasError = true; return(model); }
public static CoinMarketQuotesLatestResponseModel OK(string res) { var model = new CoinMarketQuotesLatestResponseModel(); model.Result = res; model.HasError = false; return(model); }