public Task <bool> ActivateUser(UserManagerUser user, string profileName) => Task.Run(() =>
 {
     try
     {
         _connection.CreateCommand("/tool/user-manager/user/create-and-activate-profile", _connection.CreateParameter("user", user.Name), _connection.CreateParameter("customer", user.Customer), _connection.CreateParameter("profile", profileName)).ExecuteAsync(null);
         return(true);
     }
     catch
     {
         return(false);
     }
 });
 /// <summary>
 /// Update user with changed user
 /// </summary>
 /// <param name="user">The user to be updated</param>
 /// <returns>The status of the proccess</returns>
 public Task <bool> UpdateUserAsync(UserManagerUser user) => Task.Run(() =>
 {
     try
     {
         _connection.Save(user);
         return(true);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
         return(false);
     }
 });
 /// <summary>
 /// Remove user from the user-manager server
 /// </summary>
 /// <param name="user">User to get removed</param>
 /// <returns>The status of the removing proccess</returns>
 public Task <bool> RemoveUserAsync(UserManagerUser user)
 {
     return(Task.Run(() =>
     {
         try
         {
             _connection.Delete(user);
             return true;
         }
         catch
         {
             return false;
         }
     }));
 }
 /// <summary>
 /// Adding user to the user-manager server
 /// </summary>
 /// <param name="user">The user to add</param>
 /// <returns>The status of the proccess</returns>
 public Task <bool> AddUserAsync(UserManagerUser user) => UpdateUserAsync(user);