here upload multiple upload file with same id .i want to show multiple record imagename field.but only one record is display.if i pass id 3.then 4 record will disply bcoz 4 record is storing in the upload id 4 .
- public ImageUpload Get(int id)
- {
- using (WebApiDatabaseEntities dbContext = new WebApiDatabaseEntities())
- {
- return dbContext.ImageUploads.FirstOrDefault(e => e.UploadId == id);
- }
- }


Sachin SinghRank #66 · 26.2K reputationPosted May 17, 2021, 3:45 AM EDT
Pranam BhatRank #500 · 4.9K reputationPosted May 17, 2021, 3:39 AM EDT
Arnab MukherjeeRank #879 · 2.5K reputationPosted May 17, 2021, 3:49 AM EDT