Пример #1
0
        public async Task <bool> DeleteStation(Station station)
        {
            // Catch exeption faster than check if measurements are in db!!!
            try {
                if (station != null)
                {
                    IStationDao stationDao = GetIStationDao();
                    return(await stationDao.DeleteStationAsync(station));
                }

                return(false);
            }
            catch (Exception) {
                return(false);
            }
        }