예제 #1
0
        public IActionResult Index()
        {
            Home home = new Home()
            {
                SecCode     = "SAM",
                OffsetCount = 0,
                RowCount    = 300,
            };

            home.MarketChartPrice = db.GetMarketChartPricesAsync(home.SecCode, home.OffsetCount, home.RowCount);
            return(View(home));
        }
예제 #2
0
 public List <MarketChartPrice> Get(string code, int offset, int rows)
 {
     return(db.GetMarketChartPricesAsync(code, offset, rows));
 }