Below is a code that displays my shop item url to my users. The URL (@model.URl) displayed to my user looks like the
https://api.com/folder/?productid=000100&urlProvider=2k4&search=pc
Is there any way i can display the urlProdiver paramater alone in my view like
<a href="@Model.Url["urlProvider"]">
</a>
ShopItem.cs
public class ShopItem
{
public string Url { get; set; }
}
ShopItem.cshtml
@model ShopItem
<a href="@Model.Url">
</a>