title: How to send an array from angular 8 to web api core?
body: <p>I have method in typeScript file:</p>
  
  <pre><code>searchUsers() {
      this.filterParams = [
          { parameterName: 'FirstName', filterOperator: 'Like', parameterValue: this.firstName },
          { parameterName: 'LastName', filterOperator: 'Like', parameterValue: this.lastName },
          { parameterName: 'UserName', filterOperator: 'Like', parameterValue: this.userName },
          { parameterName: 'Email', filterOperator: 'Like', parameterValue: this.email }
      ];
      this.service.getUsers(this.id, this.filterParams);
  }
  </code></pre>
  
  <p>which calls service method:</p>
  
  <pre><code>getUsers(id, filterParams) {
    let params = new HttpParams()
      .set('id', id);
      .set('filterParams', filterParams);
    this.http.get(this.rootURL + '/user/getUsers', { params: params })
      .subscribe((res: any) =&gt; {
        this.users = res.users;
      };
    });
  }
  </code></pre>
  
  <p>FilterParameter model in web api core is:</p>
  
  <pre><code>public class FilterParameter
  {
      public string ParameterName;
      public FilterOperator FilterOperator;
      public string ParameterValue;
  }
  </code></pre>
  
  <p>My web api core method is firing after click on search button in angular. This is my method in web api core:</p>
  
  <pre><code>[Route("getUsers/{id?}/{filterParams?}")]
  [HttpGet]
  public ActionResult GetUsers(int id, [FromQuery] List&lt;FilterParameter&gt; filterParams)
  {
      try
      {
          _logger.LogInformation("Geting all users from the database");
          var users = _baseBL.GetUsers(id, filterModel);
          return Ok(new { users = users.Results, usersCount = users.RowCount});
      }
      catch (Exception ex)
      {
          _logger.LogError($"Something went wrong: {ex}");
          return StatusCode(500, "Internal server error");
      }
  }
  </code></pre>
  
  <p>Id is good, but the problem is that my filterParams are empty list. Any idea why?</p>