internal PacificCodeViewModel GetPacificCodeViewModel(string partCodeNumber)
        {
            Transaction newTransaction = new Transaction();
            PacificCodeViewModel model = new PacificCodeViewModel();
            PacificCode pacificCode = PacificCodeBUS.GetObject(partCodeNumber);

            if (pacificCode != null)
            {
                model.SetAttritebuteValue(pacificCode);

                // BEGIN --            
                newTransaction.Origine = "GetPacificCodeViewModel";
                newTransaction.Comment = string.Format("Get PacificCodeViewModel: {0}"
                    , partCodeNumber);
                // END --

                // Hien tai chưa can luu Transaction loại này
                // this._transactionBUS.AddNew(newTransaction);

                return model;
            }
            
            return null;
        }
        internal static PacificCodeViewModel[] GetArray(string[] arrPartCodeNumber)
        {   

            PacificCode[] arrPC = PacificCodeDAO.GetArray(arrPartCodeNumber);
            List<PacificCodeViewModel> lstPCVM = new List<PacificCodeViewModel>();
            
            for (int i = 0; i < arrPC.Count(); i++)
            {                
                if (arrPC[i] != null)
                {
                    PacificCodeViewModel newItem = new PacificCodeViewModel();
                    newItem.SetAttritebuteValue(arrPC[i]);
                    lstPCVM.Add(newItem);
                }
            }

            return lstPCVM.ToArray();
        }