예제 #1
0
        public async Task <ActionResult> SaveTripBookingAccommodationAsync(AdminTripBookingAccommodationEditModel model)
        {
            _CheckForAdminAccess();

            var _blError = await AdminUtility.SaveTripBookingAccommodation(model.DbObject);

            if (model.TripId == 0)
            {
                return(RedirectToAction("TripBookingAccommodations"));
            }
            else
            {
                return(RedirectToAction("TripManagement", new { @id = model.TripId }));
            }
        }