// GET: Transactions/Create public ActionResult Create() { ViewBag.ExchangeRate_ID = new SelectList(ExchangeRateRepository.GetList(), "ID", "ID"); ViewBag.BankAccount_From = new SelectList(BankAccountRepository.GetList(User.Identity.GetUser_ID()), "IBAN", "IBAN"); ViewBag.BankAccount_To = new SelectList(BankAccountRepository.GetList(User.Identity.GetUser_ID(), true), "IBAN", "IBAN"); return(View()); }
// GET: ExchangeRates public ActionResult Index() { return(View(ExchangeRateRepository.GetList())); }