public DeviceReading GetReading(string Id, string DeviceId) { DocumentdbService <DeviceReading> service = new DocumentdbService <DeviceReading>(); return(service.Get(Id, DeviceId)); }
public List <DeviceReading> GetAllReadings(string DeviceId) { DocumentdbService <DeviceReading> service = new DocumentdbService <DeviceReading>(); return(service.Get(DeviceId)); }