Ejemplo n.º 1
0
Archivo: Helpers.cs Proyecto: joyoon/mb
 public static AnswerCellViewModel MakeAnswerCellViewModel(int factorId, string score, string scoreDescription, string label, int commentCount,
     string title, string keyInfo, int factorTypeId, string factorTypeName, string species, string location, string bodyOfWater,
     string method)
 {
     AnswerCellViewModel model = new AnswerCellViewModel()
     {
         Answer = GetAnswer(factorId, score, scoreDescription, label, commentCount, title, keyInfo, factorTypeId),
         FactorTypeName = factorTypeName,
         Species = species,
         Location = location,
         BodyOfWater = bodyOfWater,
         Method = method
     };
     return model;
 }
Ejemplo n.º 2
0
Archivo: Helpers.cs Proyecto: joyoon/mb
 public static AnswerCellViewModel MakeAnswerCellViewModel(FactorColumnEntity factorColumnEntity, int factorTypeId, string factorTypeName, string species, string location, string bodyOfWater, string method)
 {
     AnswerCellViewModel model = new AnswerCellViewModel()
     {
         Answer = GetAnswer(factorColumnEntity, factorTypeId),
         FactorTypeName = factorTypeName,
         Species = species,
         Location = location,
         BodyOfWater = bodyOfWater,
         Method = method
     };
     return model;
 }