private async void save(object obj) { var x = new Car() { Model = model, Color = color, ProducationDate = pdate }; var rep = new CarsRepository(App.DbPath); var a = await rep.InsertAsync(x); Cars = new ObservableCollection <Car>(await rep.GetAllAsync()); }