public EditViewModel(EbookModel model, IEventAggregator eventAggregator, IWindowManager windowManager, IFileService fileService) { this.model = model; this.eventAggregator = eventAggregator; this.windowManager = windowManager; this.fileService = fileService; }
public ListViewModel(EbookModel model, IEventAggregator eventAggregator, IFileService fileService) { this.model = model; this.eventAggregator = eventAggregator; this.fileService = fileService; this.Ebooks = this.model.GetLast(10); }
public AddViewModel(EbookModel model, IEventAggregator eventAggregator, IFileService fileService) { this.model = model; this.eventAggregator = eventAggregator; this.fileService = fileService; }