public MainViewModel(ICoffeeVideoStorage coffeeVideoStorage, IAddCoffeeVideoDialogService addCoffeeVideoDialogService, IMessageDialogService messageDialogService) { _coffeeVideoStorage = coffeeVideoStorage; _addCoffeeVideoDialogService = addCoffeeVideoDialogService; _messageDialogService = messageDialogService; CoffeeVideos = new ObservableCollection <CoffeeVideoViewModel>(); }
public MainViewModel(ICoffeeVideoStorage coffeeVideoStorage, IAddCoffeeVideoDialogService addCoffeeVideoDialogService, IMessageDialogService messageDialogService, Func <CloudBlockBlob, CoffeeVideoViewModel> coffeeVideoViewModelCreator) { _coffeeVideoStorage = coffeeVideoStorage; _addCoffeeVideoDialogService = addCoffeeVideoDialogService; _messageDialogService = messageDialogService; _coffeeVideoViewModelCreator = coffeeVideoViewModelCreator; CoffeeVideos = new ObservableCollection <CoffeeVideoViewModel>(); }