public FeeScheduleViewModel() { event_aggregator = Unity.Container.Resolve <IEventAggregator>(); service_factory = Unity.Container.Resolve <IServiceFactory>(); product_service = Unity.Container.Resolve <IProductListService>(); GetProductList(); FeeSchedule = new FeeScheduleWrapper(new FeeSchedule()); BindCommands(); }
public FeeScheduleViewModel() { event_aggregator = ServiceLocator.Current.GetInstance <IEventAggregator>(); service_factory = ServiceLocator.Current.GetInstance <IServiceFactory>(); product_service = ServiceLocator.Current.GetInstance <IProductListService>(); GetProductList(); FeeSchedule = new FeeScheduleWrapper(new FeeSchedule()); BindCommands(); }