Exemple #1
0
        public static void RegisterDependencies()
        {
            ObjectBuilder.AddCacheList <IRepository <Permohonan> >(new SqlRepository <Permohonan>());
            ObjectBuilder.AddCacheList <IRepository <Ujian> >(new SqlRepository <Ujian>());
            ObjectBuilder.AddCacheList <IRepository <SesiUjian> >(new SqlRepository <SesiUjian>());
            ObjectBuilder.AddCacheList <IRepository <Soalan> >(new SqlRepository <Soalan>());
            ObjectBuilder.AddCacheList <IRepository <PercubaanSesi> >(new SqlRepository <PercubaanSesi>());
            ObjectBuilder.AddCacheList <IRepository <Pengguna> >(new SqlRepository <Pengguna>());
            ObjectBuilder.AddCacheList <IRepository <PendaftaranProgram> >(new SqlRepository <PendaftaranProgram>());

            ObjectBuilder.AddCacheList <IRepository <SkorHlp> >(new SqlRepository <SkorHlp>());
            ObjectBuilder.AddCacheList <IRepository <HlpRecomendation> >(new SqlRepository <HlpRecomendation>());

            ObjectBuilder.AddCacheList <IRepository <IpRecommendation> >(new SqlRepository <IpRecommendation>());

            ObjectBuilder.AddCacheList <IRepository <IbkKodKerjaya> >(new SqlRepository <IbkKodKerjaya>());
            ObjectBuilder.AddCacheList <IRepository <IbkRecommendation> >(new SqlRepository <IbkRecommendation>());

            ObjectBuilder.AddCacheList <IRepository <IpuRecommendation> >(new SqlRepository <IpuRecommendation>());
            ObjectBuilder.AddCacheList <IRepository <SkorIPU> >(new SqlRepository <SkorIPU>());
            ObjectBuilder.AddCacheList <IRepository <IpuPercentileNorms> >(new SqlRepository <IpuPercentileNorms>());

            ObjectBuilder.AddCacheList <IRepository <PpkpRecommendation> >(new SqlRepository <PpkpRecommendation>());
            ObjectBuilder.AddCacheList <IRepository <SkorPpkp> >(new SqlRepository <SkorPpkp>());

            ObjectBuilder.AddCacheList <IRepository <IsoRecommendation> >(new SqlRepository <IsoRecommendation>());

            ObjectBuilder.AddCacheList <IRepository <SkorUkbp> >(new SqlRepository <SkorUkbp>());
            ObjectBuilder.AddCacheList <IRepository <UkbpRecommendation> >(new SqlRepository <UkbpRecommendation>());
        }