public CropSettingsViewModel(ICropService cropService, INavigationService navigationService) { this.cropService = cropService; this.navigationService = navigationService; LoadCommands(); }
public StatisticsViewModel(IUserService userService, INavigationService navigationService, ICropService cropService) { this.userService = userService; this.navigationService = navigationService; this.cropService = cropService; LoadCommands(); }
public AdminViewModel(IUserService userService, INavigationService navigationService, ICropService cropService) { this.userService = userService; this.navigationService = navigationService; this.cropService = cropService; Messenger.Default.Register <User>(this, OnUserReceived); LoadCommands(); }
public CropSettingsViewModelTest() { cropService = new MockCropService(new MockCropRepository()); }
public CropController(ICropService cropService) { this.cropService = cropService; }
public CropController(ICropService cropEngine) { _service = cropEngine; }