mercredi 3 juin 2015

how to get post tags in mvc actionresult

I have this ViewModel:

    public string Title { get; set; }

    public string Description { get; set; }

    public int City { get; set; }

and in View ,Users can Add some tage like as this :


All tags in view in Li in UL. How can I get All tag value in ActionResult . I searched on Google but cant find any result.

I think add a List to the Model and all li names are same ? do that right ?

Aucun commentaire:

Enregistrer un commentaire