public ActionResult InsertRoomData(Room model)
 {
     //if (model.ApartmentName != "" || model.RoomType != "" || model.RoomSize != "" || model.RoomPrice != 0 || model.District != "" || model.FullAddress != "" || model.ElecPerUnit != 0 || model.WaterPerUnit != 0 || model.RoomStatus != "")
     //{
     Account AccountModel = new Account();
     AccountModel.username = User.Identity.Name;
     AccountRepository _accountRepository = new AccountRepository(AccountModel);
     model.UserID = _accountRepository.getData().ID;
     RoomRepository _RoomRepository = new RoomRepository(model);
     _RoomRepository.InsertRoomData();
     return RedirectToAction("RoomlistOwner","MY");
     //}
     //else
     //{
     //    ViewData["MSGREGISTER"] = "Please Input All The Data!!!";
     //    return View();
     //}
 }