private void OnSelectResourceExecuted(ResourceScreenItemViewModel obj) { if (obj.Model.ResourceId > 0 && obj.Model.ItemId == 0) { _currentOperationRequest.Publish(_cacheService.GetResourceById(obj.Model.ResourceId)); } else if (obj.Model.ItemId > 0) { ExtensionMethods.PublishIdEvent(obj.Model.ItemId, EventTopicNames.DisplayTicket); } }
private void OnSelectResourceExecuted(ResourceScreenItemViewModel obj) { if (obj.Model.ResourceId > 0 && obj.Model.ItemId == 0) _currentOperationRequest.Publish(_cacheService.GetResourceById(obj.Model.ResourceId)); else if (obj.Model.ItemId > 0) { ExtensionMethods.PublishIdEvent(obj.Model.ItemId, EventTopicNames.DisplayTicket); } }