मैंने खोज की लेकिन एक रैपर विधि बनाने के लिए एमवीसी 3 एचटीएमएलहेपर के लिए कोई त्वरित समाधान नहीं मिला। @html.createLink("caption", "url")
{
<html> content in tags </html>
}
परिणाम <a href="ur
यहां मेरा परिदृश्य है। निर्मित दो मॉडल एक आम संपत्ति नाम public class SimpleModel1
{
// Some Properties
public string Property1 { get; set; }
}
public class SimpleModel2
{
// Some Properties