public async Task AddPlaceAsync() { NewPlace.CategoryId = SelectedCategory.CategoryId; string error = _dataValidation.PlaceDataValidation(NewPlace); if (error == null) { var service = new PlacesService(); error = await service.AddPlace(NewPlace); } ShowMessageDialog(error); }