private DeleteClinicalInterestRequest CreateRequest()
 {
     var request = new DeleteClinicalInterestRequest
     {
         Id = _existingClinicalInterestId
     };
     return request;
 }
        private void DeleteRecords()
        {
            try
            {
                foreach (var id in _viewModel.SelectedIds)
                {
                    var request = new DeleteClinicalInterestRequest()
                    {
                        Id = int.Parse(id.ToString(), CultureInfo.InvariantCulture)
                    };

                    ProcessRequest<DeleteClinicalInterestResponse>(request);
                }
                _viewModel.SelectedIds = new List<object>();
                _viewModel.SetSuccessMessage("Clinical Interests Successfully Deleted");
            }
            catch (Exception ex)
            {
                _viewModel.SetErrorMessage(ex.Message);
            }
        }