public Boolean SaveNaveViaje(ref ObservableCollection <NaveViaje> Items, Entities.NaveViaje.TInterfazNaveViaje x_opcion) { try { return(BL_NaveViaje.Save(ref Items, x_opcion)); } catch (Exception) { throw; } }
public Boolean Save(ref ObservableCollection <NaveViaje> Items, Entities.NaveViaje.TInterfazNaveViaje x_opcion) { try { switch (x_opcion) { case NaveViaje.TInterfazNaveViaje.Normal: return(Save(ref Items)); break; case NaveViaje.TInterfazNaveViaje.GenerarAsientos: return(SaveGAsientos(ref Items)); break; default: break; } } catch (Exception) { Infrastructure.Aspect.DataAccess.DataAccessEnterpriseSQL.DARollbackTransaction(); throw; } return(false); }