Exemple #1
0
        public IActionResult Index(int?page)
        {
            var currency = _currency.GetCurrencies();

            ViewBag.currency       = currency;
            ViewBag.CurrencyTypeId = new SelectList(_type.GetCurrencyTypes(), "Id", "Name");
            //if (currency.Count() <= 10) { page = 1; }
            //int pageSize = 10;
            return(View());
        }