How can i get already stored image path in web api via postman
i am done upload mulitple image.now i want to retreive/get image path from db in web api postman
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Arnab MukherjeePosted May 17, 2021, 8:39 AM
selvi jpPosted May 17, 2021, 7:16 AM
{
WebApiDatabaseEntities dbContext = new WebApiDatabaseEntities();
var data = from i in dbContext.ImageUploads
where i.UploadId == id
select i;
return data.FirstOrDefault();
}
Satendra SinghPosted May 17, 2021, 5:14 AM