/// <summary author="Eduardo Colon" created="2019/03/20"> /// method to create shuttle reservation /// </summary> public int CreateShuttleReservation(ShuttleReservation newShuttleReservation) { int result = 0; try { if (!isValid(newShuttleReservation)) { throw new ArgumentException("The data for this shuttle reservation is invalid"); } result = _shuttleReservationAccessor.InsertShuttleReservation(newShuttleReservation); } catch (Exception ex) { ExceptionLogManager.getInstance().LogException(ex); throw ex; } return(result); }