Exemple #1
0
        public async Task <Measurement> Add(Measurement newMeasurement)
        {
            await _db.AddAsync(newMeasurement);

            return(newMeasurement);
        }
        public async Task <MeasurementKey> Add(MeasurementKey newMeasurementKey)
        {
            await _db.AddAsync(newMeasurementKey);

            return(newMeasurementKey);
        }
        public async Task <Aquarium> Add(Aquarium newAquarium)
        {
            await _db.AddAsync(newAquarium);

            return(newAquarium);
        }