I want to fill the following when I add the subject and cheater models.
- department list
- semester list
- standard list
- stream list
cheater model:-
Code
namespace firstapp.ModelsCode
{Code
public class chepterCode
{Code
[ForeignKey("dip_id")]Code
public int dipart_id { get; set; }Code
public int chep_id { get; set; }Code
public string subject { get; set; }Code
public string chepter { get; set; }Code
public List<dipartment> dipartlist { get; set; }Code
public List<dipartment> stdlist { get; set; }Code
public List<dipartment> semlist { get; set; }Code
public List<dipartment> stremlist { get; set; }Code
}Code
}department model:
Code
namespace firstapp.ModelsCode
{Code
public class dipartmentCode
{Code
public int dip_id { get; set; }Code
public string dipart { get; set; }Code
public string std { get; set; }Code
public string sem { get; set; }Code
public string strem { get; set; }Code
}Code
}
Answers
Know the answer? Post it. Somebody with the same question will find it here.