private List <OperatorAsuntoDistribute> getOperatorListForCombo(List <Entidades.Operador> prmSourceList)
        {
            // Generate a new list to return in process
            List <OperatorAsuntoDistribute> lstOADToShow = new List <OperatorAsuntoDistribute>();
            // Generate a new OAD for selection show
            OperatorAsuntoDistribute noSelectionOperator = new OperatorAsuntoDistribute();

            // Add the no selection operator
            lstOADToShow.Add(noSelectionOperator);
            // Iterate over all operback
            foreach (var operatorToAdd in prmSourceList)
            {
                lstOADToShow.Add(new OperatorAsuntoDistribute()
                {
                    Operator = operatorToAdd
                });
            }
            // Return processed list
            return(lstOADToShow);
        }
        private void cboOperatorToLoad_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            // Obtenemos el valor del combo
            ComboBox operatorCombo = sender as ComboBox;
            // Gets current value of combo and cast to operator
            OperatorAsuntoDistribute oadSelected = operatorCombo.SelectedItem as OperatorAsuntoDistribute;

            // Gets selected file of dataGrid
            Entidades.Asunto selectedAsunto = dgAsuntosWithoutAssignation.SelectedItem as Entidades.Asunto;
            if (oadSelected.Operator != null)
            {
                // Save operator to selected
                selectedAsunto.Oper = oadSelected.Operator;
            }
            else
            {
                // Unselect operator
                selectedAsunto.Oper = null;
            }
        }