public HeadMgmtUC() { _headManager = new HeadManager(GKSFactory.GetHeadRepository()); AddHeadButtonClicked = new AddnewHead(this); ViewHeadButtonClicked = new ViewHead(this); OKButtonClicked = new HeadOK(this); CancelButtonClicked = new HeadCancel(this); }
public SaveNewHead(AddEditHeadModel addEditHeadModel) { _addEditHeadModel = addEditHeadModel; _headManager = new HeadManager(GKSFactory.GetHeadRepository()); }