Ejemplo n.º 1
0
        public async Task TestMethod1Async()
        {
            ChuDeAppService chuDeAppService = new ChuDeAppService();
            var             tam             = await chuDeAppService.GetListChuDe() as List <ChuDe>;

            Assert.AreEqual(9, tam.Count);
        }
Ejemplo n.º 2
0
 public DeThiController()
 {
     _chuDeAppService  = new ChuDeAppService();
     _deThiAppService  = new DeThiAppService();
     _cauHoiAppService = new CauHoiAppService();
     DeThiTVNP         = new List <DeThi>();
     Task.Run(async() => { DeThiTVNP = await _deThiAppService.GetListDeThi_ChuDe((int)DSCHUDE.TuVungNguPhap) as List <DeThi>; }).Wait();
 }