public void RegisterStation(string address, double latitude, double longitude, string stationId) { if (dal.GetById <Station>(stationId) == null) { Station stat = new Station(address, stationId, longitude, latitude); dal.Insert <Station>(stat); dal.Commit(); } throw new NotImplementedException(); }
public void saveChanges() { dal.Commit(); }