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);
- }
- }