public ResourceAllocationViewModel(IResourceAllocationView view) { _view = view; _equipmentModel = new EquipmentModel(); _divisionModel = new DivisionModel(); _employeeModel = new EmployeeModel(); _resourceAllocationModel = new ResourceAllocationModel(); _locationModel = new LocationModel(); _jobModel = new JobModel(); _callLogModel = new CallLogModel(); _divisionNumber = string.Empty; _name = string.Empty; _type = Globals.ResourceAllocation.Type.AddEmployee; }
/// <summary> /// Class Constructor /// </summary> /// <param name="view">Instance of the CustomerInfo View Interface</param> public ResourceAllocationPresenter(IResourceAllocationView view) { _view = view; _viewModel = new ResourceAllocationViewModel(view); }