public NylocmacViewModel(UserInformation userInformation, string costCentCode) { this.Nylocmachine = new NylocmacModel(); Nylocmachine.COST_CENT_CODE = costCentCode; _nylocmachineBll = new NylocmachineBll(userInformation); _nylocmachineBll.GetNylocmachine(Nylocmachine); }