public ConfirmAddOrUpdatePeriodPriceCommand(PeriodPrice periodPrice, PeriodPriceViewModel periodPriceViewModel, PeriodPricesViewModel periodPricesViewModel, HomePageViewModel homePageViewModel)
 {
     PeriodPricesViewModel = periodPricesViewModel;
     PeriodPriceViewModel  = periodPriceViewModel;
     HomePageViewModel     = homePageViewModel;
     PeriodPrice           = periodPrice;
 }
 public DeletePeriodPriceCommand(PeriodPricesViewModel periodPricesViewModel, HomePageViewModel homePageViewModel)
 {
     PeriodPricesViewModel = periodPricesViewModel;
     HomePageViewModel     = homePageViewModel;
 }
 public CancelPeriodPriceCommand(PeriodPricesViewModel periodPricesViewModel, HomePageViewModel homePageViewModel)
 {
     PeriodPricesViewModel = periodPricesViewModel;
     HomePageViewModel     = homePageViewModel;
 }
 public AddPeriodPriceCommand(PeriodPricesViewModel periodPricesViewModel)
 {
     PeriodPricesViewModel = periodPricesViewModel;
 }
Example #5
0
 public UpdatePeriodPriceCommand(PeriodPrice periodPrice, PeriodPricesViewModel periodPricesViewModel, HomePageViewModel homePageViewModel)
 {
     PeriodPrice           = periodPrice;
     PeriodPricesViewModel = periodPricesViewModel;
     HomePageViewModel     = homePageViewModel;
 }
 public PeriodPriceView(PeriodPrice periodPrice, PeriodPricesViewModel periodPricesViewModel, HomePageViewModel homePageViewModel)
 {
     InitializeComponent();
     DataContext = new PeriodPriceViewModel(periodPrice, periodPricesViewModel, homePageViewModel);
 }
Example #7
0
 public PeriodPricesView(HomePageViewModel homePageViewModel, AccommodationUnit unit)
 {
     InitializeComponent();
     DataContext = new PeriodPricesViewModel(homePageViewModel, unit);
 }