/// <summary> /// 获取未分配的设备 /// </summary> /// <param name="user_id"></param> /// <returns></returns> public List <DevicesWithLicense> GetUnassignedDevices() { return(_devicesRepository.GetUnassignedDevices()); }