In this action method I am getting the path of image from the sql database
public ActionResult image(int id)
{
dbCRMEntities dbx = new dbCRMEntities();
var img = dbx.CONTACTS.FirstOrDefault(Id => id == Id.CONTACT_ID);
return View(img);
}
In view,getting the path of image of image
<img src="@Url.Content(Model.IMAGE)" alt="Image" />
but it is only showing the text of alt, how can I render the image.