diff --git a/Labaratory/Labaratory/Labaratory.csproj b/Labaratory/Labaratory/Labaratory.csproj
index f816495..ae928e7 100644
--- a/Labaratory/Labaratory/Labaratory.csproj
+++ b/Labaratory/Labaratory/Labaratory.csproj
@@ -156,7 +156,6 @@
Model1.tt
-
diff --git a/Labaratory/Labaratory/Services/DelegateCommand.cs b/Labaratory/Labaratory/Services/DelegateCommand.cs
deleted file mode 100644
index a665df9..0000000
--- a/Labaratory/Labaratory/Services/DelegateCommand.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Input;
-
-namespace Labaratory.Services
-{
- public class RelayCommand : ICommand
- {
- private readonly Action _execute;
- private readonly Predicate _canExecute;
-
- public RelayCommand(Action execute, Predicate canExecute = null)
- {
- _execute = execute ?? throw new ArgumentNullException(nameof(execute));
- _canExecute = canExecute;
- }
-
- public bool CanExecute(object parameter) => _canExecute == null || _canExecute((T)parameter);
- public void Execute(object parameter) => _execute((T)parameter);
- public event EventHandler CanExecuteChanged
- {
- add => CommandManager.RequerySuggested += value;
- remove => CommandManager.RequerySuggested -= value;
- }
- }
-}
diff --git a/Labaratory/Labaratory/ViewModels/AdminModel.cs b/Labaratory/Labaratory/ViewModels/AdminModel.cs
index 9682ca7..8b073df 100644
--- a/Labaratory/Labaratory/ViewModels/AdminModel.cs
+++ b/Labaratory/Labaratory/ViewModels/AdminModel.cs
@@ -48,7 +48,7 @@ namespace Labaratory.ViewModels
get
{
if (_updatePhotoCommand == null)
- _updatePhotoCommand = new Services.RelayCommand