コード例 #1
0
ファイル: Program.cs プロジェクト: luliqzx/L.Pos
 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();
 }
コード例 #2
0
        public ActionResult Index()
        {
            var a = UserRepo.GetAll();
            var b = CurrencyRepo.GetAll();

            return(View());
        }