public NewFlowerpotPageViewModel(INavigationService navigationService, IPageDialogService pageDialogService, IFlowerpotRepository flowerpotRepository) : base(navigationService) { this.navigationService = navigationService; this.pageDialogService = pageDialogService; this.flowerpotRepository = flowerpotRepository; CloseModalCommand = new Command(async() => await CloseModalAsync()); SaveCommand = new Command(async() => await SaveCommandAsync()); DaysOfTheWeek = new List <string>(CustomHelpers.GetWeekdays(DayOfWeek.Monday)); }