Exemple #1
0
 public ActionResult Create(int id, RentRoomMemberEntity rentRoomMember)
 {
     try
     {
         RentRoomMemberManager.Add(id, UserSession.CurrentUser.id, rentRoomMember.firstdate, rentRoomMember.lastdate, rentRoomMember.adult, rentRoomMember.child, rentRoomMember.price, rentRoomMember.assurance);
         return(RedirectToAction("Index", "Home"));
     }
     catch
     {
         return(View());
     }
 }