static void Main(string[] args) { IUserRepo userRepo = container.GetInstance <IUserRepo>(); IList <User> a = userRepo.GetAll(); ICurrencyRepo CurrencyRepo = container.GetInstance <ICurrencyRepo>(); IList <Currency> b = CurrencyRepo.GetAll(); }
public ActionResult Index() { var a = UserRepo.GetAll(); var b = CurrencyRepo.GetAll(); return(View()); }