/// <summary> /// This constructor is used only when testing with Mocks /// </summary> /// <param name="view"></param> /// <param name="model"></param> public PermittingPresenter(IPermittingView view, EquipmentModel model) { _view = view; _equipmentModel = model; }
public PermittingViewModel(IPermittingView view, EquipmentModel equipmentModel) { _view = view; _equipmentModel = equipmentModel; }
public PermittingPresenter(IPermittingView view) { _view = view; _viewModel = new PermittingViewModel(view); _equipmentModel = new EquipmentModel(); }
public PermittingViewModel(IPermittingView view) { _view = view; _equipmentModel = new EquipmentModel(new EFUnitOfWork()); }