public BatchRecord(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto) { InitializeComponent(); _carPortListDto = carPortListDto; _carPortAppService = carPortAppService; _mainWindowViewModel = mainWindowViewModel; _userManagerViewModel = userManagerViewModel; }
public CarportInfo(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto) { InitializeComponent(); _carPortListDto = carPortListDto; _carPortAppService = carPortAppService; _mainWindowViewModel = mainWindowViewModel; _userManagerViewModel = userManagerViewModel; _carPortTimeExTenstionViewModel = new CarPortTimeExTenstionViewModel(); }
public CarPortTimeExtension(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto) { InitializeComponent(); _carPortAppService = carPortAppService; _mainWindowViewModel = mainWindowViewModel; _userManagerViewModel = userManagerViewModel; _carPortTimeExTenstionViewModel = new CarPortTimeExTenstionViewModel(); _carPortTimeExTenstionViewModel.CarPortListDto = carPortListDto; DataContext = _carPortTimeExTenstionViewModel; _rechargeRecordAppService = IocManager.Resolve <IRechargeRecordAppService>(); }