我有一个 Aps 列表,我需要使用 c# select asp.net 中该列表的一个或多个元素

I have a a list of Aps and i need to select one or multiple elements of that list in asp.net with c#

我正在开发一个带有 asp.net 核心 mvc 的学校项目,我有一个区域列表,我需要从该列表中 select 多个元素,现在我正在使用 select 那样

<div  style="margin-bottom:2%;">
<p>Escolha os AP's que quer verificar</p>
<div style="margin-bottom:2%; width:70%; text-align:center; text-align-last:center ">
<select asp-for="ap" class="form-control">
  <option value="null"> Escolha um Ap ou todos</option>
  <option value="todos"> Todas as zonas </option>
    @foreach(var i in Model.Zones)
    {
         <option value=@i.zone_id> @i.zone_name </option>
    }
  </select>
 </div
</div> 

但是当我使用它时,我无法 select 多个选项,所以我可以通过任何方式做到这一点? 即使我必须使用不同的东西。

这就是区域结构

    public class L_Zone
    {
        public short zone_id { get; set; }
        public string? zone_name { get; set; }
        public decimal latitude { get; set; }
        public decimal longitude { get; set; }
        public DateTime? ts { get; set; }
        public bool Active { get; set; }
        public short geolocation_id { get; set; }

    }

将多重布尔属性添加到 select 标记,如下所示:

<select asp-for="ap" class="form-control" multiple>