public PictureViewModel(DALDatabase database) { Log.Logger = new LoggerConfiguration().ReadFrom.AppSettings().CreateLogger(); Log.Information("Starting Application..."); this.database = database; Images = new List <Picture>(); InitPictures(); }
public PhotographerViewModel(DALDatabase database) { this.database = database; Photographers = new ObservableCollection <Photographer>(database.GetAllPhotographers()); }