public ChangeOrderViewModel(IView view) : base(view) { this.contractors = CompanyService.GetAllCompanies(); this.toList = UserSession.CurrentProject.Contacts; this.priceChangeTypesView = new CollectionView(Enum.GetNames(typeof(PriceChangeType))); string[] changeDirections = Enum.GetNames(typeof(ChangeDirection)); this.priceChangeDirections = new CollectionView(changeDirections); this.timeChangeDirections = new CollectionView(changeDirections); this.statuses = SubmittalService.GetItemStatuses(); this.disciplines = SubmittalService.GetDisciplines(); this.routingItemsViewModel = new RoutingItemsViewModel <ChangeOrder>(this); }
public RoutableTransmittalViewModel(IView view) : base(view) { this.routingItemsViewModel = new RoutingItemsViewModel <T>(this); }