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; }
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; }