public IEnumerable <DeviceDTO> GetDevicesByToken(string token) { IDeviceLogic deviceLogic = new DeviceLogic(); return(deviceLogic.GetDeviceDTOs(token)); }