public CourseHomeViewModel() { _servicesProxy = new ServicesProxy(); _serviceTypeProxy = new ServiceTypeProxy(); _sportTypeProxy = new SportTypeProxy(); EditCourseCommand = new RelayCommand(EditCourse); OnPageLoadCommand = new RelayCommand(OnPageLoad); }
public SingleServiceHomeViewModel() { _servicesProxy = new ServicesProxy(); _serviceTypeProxy = new ServiceTypeProxy(); _sportTypeProxy = new SportTypeProxy(); OnPageLoadCommand = new RelayCommand(OnPageLoad); Initialize(); }
public AddServiceTypeViewModel() { _sportTypeProxy = new SportTypeProxy(); _serviceTypeProxy = new ServiceTypeProxy(); OnPageLoadCommand = new RelayCommand(OnPageLoad); AddCourseTypeCommand = new RelayCommand(AddCourseType, AddCourseTypeCanExcecute); Initialize(); }
public EnrolmentSingleServiceViewModel() { _customerProxy = new CustomerProxy(); _serviceProxy = new ServicesProxy(); _serviceTypeProxy = new ServiceTypeProxy(); _employeeProxy = new EmployeeProxy(); OnPageLoadCommand = new RelayCommand(OnPageLoad); EnrolCommand = new RelayCommand(Enrol, EnrolCanExcecute); Initialize(); }
public EnrolmentCourseViewModel() { _serviceTypeProxy = new ServiceTypeProxy(); _servicesProxy = new ServicesProxy(); _customerProxy = new CustomerProxy(); OnPageLoadCommand = new RelayCommand(OnPageLoad); EnrolCommand = new RelayCommand(Enrol, EnrolCanExcecute); NextCommand = new RelayCommand(Next, NextCanExcecute); PrevCommand = new RelayCommand(Prev, PrevCanExcecute); Initialize(); }
public AddCourseViewModel() { _employeeProxy = new EmployeeProxy(); _serviceTypeProxy = new ServiceTypeProxy(); _servicesProxy = new ServicesProxy(); Course = new Course(); SaveChangesCommand = new RelayCommand(SaveChanges); AddCourseCommand = new RelayCommand(AddCourse, AddCourseCanExcecute); OnPageLoadCommand = new RelayCommand(OnPageLoad); AddDateCommand = new RelayCommand(AddDate, AddDateCanExcecute); RemoveCustomerCommand = new RelayCommand(RemoveCustomer); RemoveDateCommand = new RelayCommand(RemoveDate); RemoveCourseCommand = new RelayCommand(RemoveCourse); }