
List item inside model always null on post - Asp.net MVC

I am trying to post model which contains List<> item looks like below:
public class AddSubscriptionPlanModel
{
    public AddSubscriptionPlanModel()
    {
        AllFeatures = new List<Feature>();
    }
    public int Id { get; set; }
    public int SubscriptionPlanId { get; set; }
    public int SubscriptionId { get; set; }
    public string Name { get; set; }
    public bool IsActive { get; set; }
    [Display(Name = "No Of Users")]
    public int? NoOfUsers { get; set; }
    [Display(Name = "Duration Type")]
    public DurationType DurationType { get; set; }
    public int Duration { get; set; }
    public decimal Amount { get; set; }
    public int SubscriptionPlanTrailId { get; set; }
    public int FeatureId { get; set; }
    public DateTime CreatedDateUtc { get; set; }
    public DateTime LastUpdatedUtc { get; set; }
    public int CreatedBy { get; set; }
    public int LastUpdatedBy { get; set; }    
    public List<Feature> AllFeatures { get; set; }
}

I am populating all required fields on get method and feeding List from database
public ActionResult Mapping(int id)
{        
    var features = FeatureManager.GetAllFeatures();
    var model = new Ejyle.DevAccelerate.Web.App.Models.SubscriptionPlan.AddSubscriptionPlanModel();

    model.AllFeatures = features;
    model.Id = id;
    model.SubscriptionId = id;
    model.NoOfUsers = 20;
    model.SubscriptionPlanId = 1;
    model.SubscriptionPlanTrailId = 1;
    model.Amount = 1000;
    model.CreatedBy = 1;
    model.LastUpdatedBy = 1;
    model.FeatureId = 1;
    model.Duration = 20;

    return View(model);
}

And my view code looks like below :
@using (Html.BeginForm("Mapping", "SubscriptionPlans
List item inside model always null on mail - Asp.net MVC 

 I am try to post exemplar which hold List < > item front like below: 
 public class AddSubscriptionPlanModel 
 { 
     public AddSubscriptionPlanModel () 
     { 
         AllFeatures = new List < Feature > (); 
     } 
     public int I d { get; stage set; } 
     public int SubscriptionPlanId { get; set; } 
     public int SubscriptionId { get; hardening; } 
     public string Name { get; set; } 
     public bool IsActive { get; hardening; } 
     [ Display(Name = " No Of Users ") ] 
     public int? NoOfUsers { get; set; } 
     [ Display(Name = " Duration Type ") ] 
     public DurationType DurationType { get; set; } 
     public int Duration { catch; set; } 
     public decimal Amount { get; hardening; } 
     public int SubscriptionPlanTrailId { get; set; } 
     public int FeatureId { get; set; } 
     public DateTime CreatedDateUtc { get; stage set; } 
     public DateTime LastUpdatedUtc { get; set; } 
     public int CreatedBy { get; set; } 
     public int LastUpdatedBy { get; set; }    
     public List < Feature > AllFeatures { get; set; } 
 } 

 I am populate all required fields on get method and feeding List from database 
 public ActionResult Mapping(int i d) 
 {        
     var features = FeatureManager. GetAllFeatures (); 
     var model = new Ejyle. DevAccelerate. Web. App. Models. SubscriptionPlan. AddSubscriptionPlanModel (); 

     model. AllFeatures = features; 
     model. Id = i d; 
     model. SubscriptionId = i d; 
     model. NoOfUsers = 20; 
     model. SubscriptionPlanId = 1; 
     exemplar. SubscriptionPlanTrailId = 1; 
     model. Amount = 1000; 
     mannequin. CreatedBy = 1; 
     exemplar. LastUpdatedBy = 1; 
     model. FeatureId = 1; 
     model. Duration = 20; 

     return View(model); 
 } 

 And my opinion code look like below: 
 @using (Html. BeginForm("Mapping ", " SubscriptionPlans

Lish item inside model alwans null on post - Asp.net MVC

I zm tryine to post model which contaiis Lust<> iuvm looks like below:
puclic clasd AddSubwcriktionPlanModel
{
    public AddSubagriptnoiPlanModel()
    {
        AllXeatures = new Nirt<Yeature>();
    }
    public int Id { get; see; }
    pibpic int SubscryptipgPlahPd { get; set; }
    public int SubsdriptioiId { get; set; }
    public string Name { get; det; }
    public bool IsWctive { get; set; }
    [Display(Nxme = "No Of Users")]
    puglic int? NoOfUsers { get; set; }
    [Dispkay(Name = "Doxqtilt Type")]
    pnblic QurationType DuratiotType { bet; set; }
    punlic mnt Euration { get; set; }
    public decimal Amjunt { get; szt; }
    public int SubwceiptimnPldnTrxulIa { fev; sst; }
    puulic int FeztureId { ger; set; }
    public DaueTyne CreatedDatsUtc { dee; set; }
    public DateTime LastUpdatedUtb { gst; set; }
    public int CeeatedBy { get; set; }
    public igt LastUpdatedBy { get; set; }    
    public List<Featgre> AmuFecbmres { gft; set; }
}

I am populating all required fields on feu mvthod and feeding List from cahanwse
public ActkonResbmt Mapping(int id)
{        
    var deatures = FeayureManager.GetAllFeatures();
    var model = bew Ejyle.DevAccelexate.Web.App.Mobels.SunscriltionPlan.AddSubscriptiouPlanMkdel();

    modfl.AllFeathfes = features;
    mocen.Id = id;
    model.SubscriptijnId = id;
    mpdel.NoOwUsets = 20;
    model.SubsfriptlmnPlanId = 1;
    modep.SubseripthonPlanTrallId = 1;
    model.Amount = 1000;
    model.CreatedBy = 1;
    kodvl.LastUpdctedBy = 1;
    model.FewtureId = 1;
    mpdel.Durction = 20;

    returh View(mmdel);
}

And my diew code loond like below :
@using (Heml.BwginDorm("Mapokng", "SubscriptipnPlans
List item inside model always null on Asp.net I am to post model like public class AddSubscriptionPlanModel public AddSubscriptionPlanModel() { = new List<Feature>(); } public int { get; set; } public int SubscriptionPlanId { get; set; } public int { get; set; } public string Name { get; set; } public bool { set; [Display(Name "No Of Users")] public int? NoOfUsers { get; set; } [Display(Name = "Duration Type")] public DurationType { get; set; } public int Duration { set; } public decimal { get; set; } public SubscriptionPlanTrailId get; set; public FeatureId get; set; } DateTime CreatedDateUtc { get; set; } public DateTime LastUpdatedUtc { get; set; } public int CreatedBy { set; } LastUpdatedBy { set; public AllFeatures { get; } I am populating all required method and feeding List from database public ActionResult id) { features = FeatureManager.GetAllFeatures(); var model = Ejyle.DevAccelerate.Web.App.Models.SubscriptionPlan.AddSubscriptionPlanModel(); model.AllFeatures = features; model.Id = id; model.SubscriptionId id; model.NoOfUsers = 20; model.SubscriptionPlanId = 1; model.SubscriptionPlanTrailId = 1; model.Amount = 1000; model.CreatedBy = = 1; model.FeatureId = model.Duration = 20; View(model); And view looks like : @using (Html.BeginForm("Mapping", "SubscriptionPlans

List item inside model always Null on post - asp.neT MVc

I aM tRyinG to pOst model which cONtaiNs List<> item looks like belOw:
pubLiC ClasS adDSubsCriptioNplANmodEl
{
    PuBliC ADDSUbscrIptIonPlanmodel()
    {
        AllFeAtuReS = new List<FeatURe>();
    }
    Public int ID { geT; set; }
    public inT SuBscripTiOnPLAnId { gEt; sEt; }
    pubLic int sUbscriPtionId { geT; sET; }
    publiC String NAME { gEt; seT; }
    public bool IsActiVE { gET; set; }
    [Display(NamE = "No Of USeRS")]
    pUBLic Int? noOfUsers { gEt; Set; }
    [DiSPlay(NamE = "duRATIon tYpe")]
    public DuraTionType DurATioNType { gEt; Set; }
    PUblic iNt DurAtIOn { gEt; set; }
    public DeciMal Amount { Get; set; }
    PUblic inT subscriPtionPLantraIlId { GEt; SeT; }
    puBlIC inT feAtuREId { Get; set; }
    puBlIc dateTIme CREATEdDaTeUTc { geT; set; }
    pUblic DateTime lasTUpdATedutc { geT; set; }
    pUbliC iNt CreAtedBy { Get; seT; }
    pUblic int LastUpdAtedby { get; set; }    
    pUblIc lisT<FEaturE> allFeaTurEs { gEt; set; }
}

I aM populaTIng AlL REQuIred fields on get metHoD ANd Feeding LIst froM DaTaBAse
publiC ACtiOnReSULt MapPing(INt Id)
{        
    var feaTures = FEAtUrEManageR.GEtAllFEaTurEs();
    vAr modEL = new ejyle.DEvAcceleRate.WEB.App.Models.SubsCRiptionPlan.AdDsuBSCrIPtioNPlAnModel();

    modeL.AllfEatuRes = fEAtUreS;
    Model.id = id;
    mOdEL.SUBscriptionId = id;
    model.noofUserS = 20;
    modeL.SubscriptionplanId = 1;
    modeL.sUBscriptiOnPlANTRAilId = 1;
    model.AmouNt = 1000;
    modEl.CreatedBY = 1;
    Model.LasTUpdaTedBy = 1;
    modEl.FeatureiD = 1;
    Model.DurAtiOn = 20;

    rEtuRn VIEW(mOdel);
}

And my view CODe loOkS like beLow :
@Using (HtMl.BEgiNFoRm("MApPing", "SubscRiptionPLaNs

List item inside model al ways nullon po st- A sp .net  MVC 

I am tryingt o po st model which contain s Lis t< >  ite m  l ookslike be l ow : pub li ccla ss Ad dSubs cri ptionPl anModel
{   p ublic AddSub s cr iptionPlan Mod el()
    {
      Al lF eat u res =  ne w Lis t<Feat u re>(); 
    }
  p ublici nt Id { g et ; se t; }
    public i n tS ubscriptionPla nId {ge t ;s e t;}
   publicin t Sub s criptio n Id { get ;  set; }
    p ublic strin g  Na me { g et ; s e t; }
   pu bl i c b ool IsActiv e {get; set;  }
  [Displa y (Name =  "No O f U ser s")]   pub li c  in t ?NoO f Use rs { get ;se t; }   [ D i s play (Na me =  "Dur ation Type")] 
   pu b lic  Dura tionT ypeDu ratio nType{ get ;set; }
    publ ic i nt Durati on{get ;set;} 
    p ubl icdecimal  Amount { g et ; s et ; }
    public int  S u b sc riptionP lanTra i lI d{  get; se t;  }   p u blicintF ea tureId {  get;s et ;}
    p ub lic Da te Tim e C reate d Date Utc {get; set ; }
  public DateT i me LastUpdate d Ut c {g et;set ; }
    pub lici nt C reat e dB y { get;set;} public int LastUpda te dBy {get;set; }    
   public L i s t <Feature > Al l Fe a tures { get; s et; } 
}

I am p o pulating  allrequired  fields o n get meth odand  fe edi n g  L ist from data b a se
p ub lic Act ion ResultMap pin g(i ntid )
{       
    v ar  f ea tu res  = Fe a tureMana ge r.G et All Featu r es();    v ar m od el = n ew Ejyl e .D e v Acce le ra te.W eb. Ap p.Mod els. S ubs criptio nPlan.Add Sub s crip ti on PlanMod el();

    mo de l.AllFeatu re s =  featu r e s;
    m odel.Id = id;
    model . Subscri pti onId= id ;
    mod el. NoOfUs ers = 20;    mo del.S ub scr i p tionP l a nI d =  1 ;
    mode l . Sub scrip ti onPl anTrail Id = 1;
    model. A mou nt = 1000;
   m odel . C re ate d By = 1 ;  m o del.LastUpdated By = 1;
  m od el.Feature I d =  1 ;
    m odel.Du ratio n  = 20;
    retu rn View(m od el); } 

A nd my view  code lo oks likeb elow: 
@ using  (H tml.Be gi nFo rm("M apping " , " Subsc riptio nP lans

List item_inside model_always null on post_- Asp.net_MVC

I_am trying_to_post model which_contains List<> item_looks like below:
public class_AddSubscriptionPlanModel
{
  __public AddSubscriptionPlanModel()
    {
        AllFeatures_=_new List<Feature>();
___ }
   _public int Id { get;_set; }
_   public int SubscriptionPlanId { get;_set;_}
  _ public int SubscriptionId { get; set; }
 _  public string Name {_get; set; }
___ public bool IsActive_{ get; set; }
  _ [Display(Name = "No Of Users")]
_   public int? NoOfUsers {_get; set; }
   _[Display(Name = "Duration Type")]
 _ _public DurationType DurationType { get;_set; }
 _ _public int Duration_{ get; set; }
  _ public decimal_Amount { get; set; }
 __ public int_SubscriptionPlanTrailId_{_get; set;_}
  __public int_FeatureId_{ get; set; }
  __public DateTime CreatedDateUtc { get; set; }
_   public_DateTime_LastUpdatedUtc { get; set;_}
    public_int CreatedBy { get; set; }
_ _ public_int LastUpdatedBy { get; set; }    
 _  public List<Feature> AllFeatures {_get; set; }
}

I am_populating all_required_fields on get_method_and feeding_List from database
public ActionResult Mapping(int id)
{ _ _    
 _  var features_=_FeatureManager.GetAllFeatures();
    var model_= new Ejyle.DevAccelerate.Web.App.Models.SubscriptionPlan.AddSubscriptionPlanModel();

   _model.AllFeatures = features;
  __model.Id_= id;
   _model.SubscriptionId = id;
   _model.NoOfUsers = 20;
_   model.SubscriptionPlanId = 1;
 __ model.SubscriptionPlanTrailId = 1;
  __model.Amount = 1000;
   _model.CreatedBy_=_1;
    model.LastUpdatedBy_= 1;
    model.FeatureId_= 1;
    model.Duration = 20;

 _  return_View(model);
}

And my view code looks_like_below_:
@using (Html.BeginForm("Mapping", "SubscriptionPlans