How to bind image in mvc

How to bind image in mvc

In this articles, How to bind image in mvc

<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                            <div class="form-group">
                                <label>Photo</label>
                                <img src="@ViewBag.PIC" style="overflow: hidden; position: relative; width:150px; height:150px;" />
                            </div>
                        </div>
               string imgPath = "~/img.png";                       
               ViewBag.SIGN = imgPath;
                      

2020-02-04