grafic.web 0 Newbie Poster

Hi, i did create the following class in my Models folder and i create the Styles controller, everuthing is fine... but muy problem is the following.

When i clicK on the link style i got my list of styles and when i click in one style i got the idin the address bar :


i didt set a "Type" and a "SubType" and i would love to see them on my bar address, how can i do?


    using System;
    using System.ComponentModel.DataAnnotations;
    using System.Collections.Generic;
    using System.Data.Entity;
    using System.Linq;
    using System.Web;

    namespace Collectionhair.Models
        public class Style
            public int ID { get; set; }

            [Display(Name = "Date Pubblication")]
            [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
            public DateTime ReleaseDate { get; set; }

            public string Type { get; set; }
            public string SubType { get; set; }

            [StringLength(400, MinimumLength = 3)]
            public string Title { get; set; }
            [StringLength(1000, MinimumLength = 3)]
            public string SubTitle { get; set; }
            public string Body { get; set; }

            public string Photo { get; set; }


        public class db514717629DBContext : DbContext
            public DbSet<Style> db514717629 { get; set; }