public void ThenIAddCommentsToFlatQuestionsInTheCRF_(Table table) { IEnumerable <AddCommentsForQuestion> Data = table.CreateSet <AddCommentsForQuestion>(); List <AddCommentsForQuestion> Questions = (List <AddCommentsForQuestion>)Data; BP_CRF_QuestionCommentsUtilities.AddCommentsToFlatQuestionsInCRF(Questions); }
public void WhenIAddCommnetToAFlatQuestion(Table table) { IEnumerable <AddCommentsForQuestion> data = table.CreateSet <AddCommentsForQuestion>(); if (!BP_CRF_QuestionCommentsUtilities.AddCommentsToFlatQuestionsInCRF((List <AddCommentsForQuestion>)data)) { ScenarioContext.Current["ActResult"] = "Failed"; } }