diff --git a/LoggingClient/LoggingClient/LoggingClient.csproj b/LoggingClient/LoggingClient/LoggingClient.csproj index 582f905..cd4372b 100644 --- a/LoggingClient/LoggingClient/LoggingClient.csproj +++ b/LoggingClient/LoggingClient/LoggingClient.csproj @@ -38,6 +38,9 @@ + + ..\packages\Autofac.5.2.0\lib\net461\Autofac.dll + ..\packages\BouncyCastle.1.8.3.1\lib\BouncyCastle.Crypto.dll @@ -53,11 +56,15 @@ ..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll + + ..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll + ..\packages\MySql.Data.8.0.16\lib\net452\MySql.Data.dll + @@ -66,8 +73,14 @@ + + ..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll + + + ..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll + diff --git a/LoggingClient/LoggingClient/MainWindow.xaml.cs b/LoggingClient/LoggingClient/MainWindow.xaml.cs index 1905dfe..e6f56ce 100644 --- a/LoggingClient/LoggingClient/MainWindow.xaml.cs +++ b/LoggingClient/LoggingClient/MainWindow.xaml.cs @@ -1,5 +1,5 @@ using System.Windows; -using WpfControlNugget.ViewModel; +using LoggingClient.ViewModel; namespace LoggingClient { diff --git a/LoggingClient/LoggingClient/Repository/LocationRepository.cs b/LoggingClient/LoggingClient/Repository/LocationRepository.cs index 223a934..2acc3c9 100644 --- a/LoggingClient/LoggingClient/Repository/LocationRepository.cs +++ b/LoggingClient/LoggingClient/Repository/LocationRepository.cs @@ -207,7 +207,7 @@ namespace LoggingClient.Repository catch (Exception e) { - MessageBox.Show("Es konnte keine Verbindung zur Datenbank hergestellt werden: " + e.Message); + MessageBox.Show("Error occurred: " + e.Message); } ctx.Dispose(); return locationsList; diff --git a/LoggingClient/LoggingClient/ViewModel/Commands/BaseCommand.cs b/LoggingClient/LoggingClient/ViewModel/Commands/BaseCommand.cs index e394e5c..ac6cc2e 100644 --- a/LoggingClient/LoggingClient/ViewModel/Commands/BaseCommand.cs +++ b/LoggingClient/LoggingClient/ViewModel/Commands/BaseCommand.cs @@ -1,11 +1,7 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Windows.Input; -namespace WpfControlNugget.ViewModel.Commands +namespace LoggingClient.ViewModel.Commands { public class BaseCommand : ICommand { diff --git a/LoggingClient/LoggingClient/ViewModel/NavigationViewModel.cs b/LoggingClient/LoggingClient/ViewModel/NavigationViewModel.cs index d2e4855..830c2c1 100644 --- a/LoggingClient/LoggingClient/ViewModel/NavigationViewModel.cs +++ b/LoggingClient/LoggingClient/ViewModel/NavigationViewModel.cs @@ -1,9 +1,10 @@ -using LoggingClient.ViewModel; +using LoggingClient.Repository; +using LoggingClient.ViewModel.Commands; +using System; using System.ComponentModel; using System.Windows.Input; -using WpfControlNugget.ViewModel.Commands; -namespace WpfControlNugget.ViewModel +namespace LoggingClient.ViewModel { class NavigationViewModel : INotifyPropertyChanged { diff --git a/LoggingClient/LoggingClient/packages.config b/LoggingClient/LoggingClient/packages.config index a3e76e1..09e7a8f 100644 --- a/LoggingClient/LoggingClient/packages.config +++ b/LoggingClient/LoggingClient/packages.config @@ -1,7 +1,11 @@  + + + + \ No newline at end of file