public void RefreshPCStatuses(IEnumerable<PCInfo> data) { using (var webService = new WebService()) { webService.UpdateData( Settings.Default.webServiceUserName, Settings.Default.webServiceUserPassword, data.Select(TransformToWebEntity).ToArray()); } }
public void RemoveMacFromQueue(string mac) { using (var webService = new WebService()) { webService.RemoveMacFromQueue( Settings.Default.webServiceUserName, Settings.Default.webServiceUserPassword, mac); } }
public string[] GetMacsToTurnOn() { using (var webService = new WebService()) { var result = webService.GetMacsToTurnOn( Settings.Default.webServiceUserName, Settings.Default.webServiceUserPassword); return result; } }