Example #1
0
 // GET: HopDong
 public async Task <IActionResult> Index()
 {
     return(View(await hopDongRepository.getAll()));
 }
Example #2
0
        public async Task <IEnumerable <Hopdong> > getAll()
        {
            var DanhSachHopDong = await hopDongRepository.getAll();

            return(DanhSachHopDong);
        }