예제 #1
0
 public IEnumerable <Currency> GetCurrencies()
 {
     using var db = new CurrenciesRepository();
     return(db.GetAll());
 }
 // GET: Admin/Currencies
 public ActionResult Index()
 {
     return(View(_repo.GetAll()));
 }