예제 #1
0
 /// <summary>
 /// ²âÊÔÓÃ
 /// </summary>
 public VacationInfoListPresenter(IVacationInfoListView view, IVacationBaseView vacationView, bool isPostBack,
                                  IVacationFacade mockIVacationFacade, IEmployeeAttendanceFacade mockIEmployeeAttendanceFacade)
 {
     _IVacationFacade           = mockIVacationFacade;
     _IEmployeeAttendanceFacade = mockIEmployeeAttendanceFacade;
     _ItsView          = view;
     _VacationBaseView = vacationView;
     AttachViewEvent();
     InitInfoList(isPostBack);
     InitVacationView();
 }
예제 #2
0
 public VacationListPresenter(IVacationBaseListView view, bool isPostBack, Account _operator,
                              IVacationFacade mockGetVacation, IEmployeeAttendanceFacade mockIEmployeeAttendanceFacade)
 {
     _IEmployeeAttendanceFacade = mockIEmployeeAttendanceFacade;
     _IVacationFacade           = mockGetVacation;
     _IVacationBaseListView     = view;
     _IVacationBaseView         = view.IVacationBaseView;
     _Operator = _operator;
     AttachEvents();
     InitVacationList(isPostBack);
 }