protected async override void ActivateSelected()
        {
            string action = SelectedServiceProvider.Status == EntityStatus.Active
                               ? "deactivate"
                               : "activate";
            if (MessageBox.Show("Are you sure you want to " + action + " this Service Provider?",
                                "Agrimanagr: Manage Service Provider", MessageBoxButton.YesNo) ==
                MessageBoxResult.No) return;

            using (var c = NestedContainer)
            {
                ResponseBool response = new ResponseBool() { Success = false };
                if (SelectedServiceProvider == null) return;
                _proxy = Using<IDistributorServiceProxy>(c);
                response = await _proxy.ServiceProviderActivateOrDeactivateAsync(SelectedServiceProvider.Id);

                MessageBox.Show(response.ErrorInfo, "Agrimangr: Manage Service Provider", MessageBoxButton.OK,
                                MessageBoxImage.Information);
            }
        }