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

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

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