示例#1
0
 public CharacterViewModelFactory(IMyDbContext context)
 {
     this.context     = context;
     AvailableGenders = EnumConverter.ConvertDBEnumToSelectList(context.GetGenders());
     AvailableRaces   = EnumConverter.ConvertDBEnumToSelectList(context.GetRaces());
 }