Exemplo n.º 1
0
 public ActionResult RoomlistOwner()
 {
     Room model = new Room();
     Account AccountModel = new Account();
     AccountModel.username = User.Identity.Name;
     AccountRepository _accountRepository = new AccountRepository(AccountModel);
     model.UserID = _accountRepository.getData().ID;
     List<Room> modelList = new List<Room>();
     RoomRepository _RoomAccountRepository = new RoomRepository(model);
     return View(_RoomAccountRepository.getRoomListByID());
 }