public string GenerateCard(string title, List <ComponentCardInfoTextItem> items) { var model = new ComponentCardInfoModel(title, items); var component = new ComponentCardInfo(model); return(component.Generate()); }
public ComponentCardInfo(ComponentCardInfoModel model) { Model = model; }