add method to IClientDao and IDeviceDao