public bool add(APORTSTATION portStation) { try { using (DBConnection_EF con = DBConnection_EF.GetUContext()) { portStationDao.add(con, portStation); } } catch { return(false); } return(true); }
public bool add(APORTSTATION portStation) { try { using (DBConnection_EF con = DBConnection_EF.GetUContext()) { portStationDao.add(con, portStation); } } catch (Exception ex) { logger.Error(ex, "Exception"); return(false); } return(true); }