I am not sure if this is duplicate, or either I am asking the right direction, still to be sure I thought why not asking the GURU's.
So I have this enum in my model
public enum LienRequirement
{
AbstractJudgment=1,
AbstractSupportJudgment=2,
Affidavit=3,
Agreement=4,
AgriculturalExempt=5
}
And here is my Model:
public class AbstractJudgment
{
[Key]
public int AbstractJudgmentId { get; set; }
public LienRequirement LienRequirementId { get; set; }
[ForeignKey("Reports")]
[Display(Name = "Report")]
public int ReportId { get; set; }
public virtual Reports Reports { get; set; }
}
I am using MVC 5 Controllers with views, using Entity Framework. So In my create view, I am getting a dropdown for the property *
LientRequirementID
given in the screenshot below: Screenshot
*
I simply want the
Agreement
or perhaps any other options to be selected.