Adding c # model list : I have a list of the List of Request Types. With the For cycle, I have data from the vertaban. I want to add the dates into detail.
There is an error in the code I wrote. All data are listed as the same.


> public IHttpActionResult TalepListele(TalepList model)

>         {

>             List<TalepList> detay = new List<TalepList>();

>             using (var ctx = new ktdbEntities())

>             {

>                 var query = ctx.talepListele(model.KullaniciId, 0, 10).ToList();

>                 var adet = query.Count;

>                 if (query.Count != 0)

>                 {

>                     for (var i = 0; i < adet; i++)

>                     {

>                         model.OlusturmaTarihi = query[i].olusturulmaTarihi;

>                         model.TalepDurumAdi = query[i].talepDurumuAdi;

>                         model.TalepDurumId = query[i].talepTuruID;

>                         model.TalepTuruAdi = query[i].talepTuruAdi;

>                         model.TalepTuruId = query[i].talepTuruID;

>                         model.talepID = query[i].talepID;

>                         detay.Add(model);


>                     }

>                     return Ok(detay);

>                 }

>             }

>             return Ok();
>         }