private void SendDataToRelevantTill() { var productGroupModel = new EventManagementSystem.Models.TillDomainObjects.ProductGroupModel { Record = ProductGroup.RecordID, Name = ProductGroup.Name }; string tillName = ProductGroup.Till.Name; string ipAddress = ProductGroup.Till.IPAddress; TillsCommunicationService.SetProductGroup(productGroupModel, tillName, ipAddress); IsBusy = false; RaisePropertyChanged("CloseDialog"); }