public OutputData Insert(IInputData input, object instance) { MpNewsArticle article = instance as MpNewsArticle; WeNewsMaterial news = new WeNewsMaterial(article); news.Add(); return OutputData.CreateToolkitObject(new KeyData(article.Title, article.Content)); }
public override WeNewsMaterial CreateNewsMaterial() { WeNewsMaterial weNews = new WeNewsMaterial(NewsItem); return(weNews); }
public override WeNewsMaterial CreateNewsMaterial() { WeNewsMaterial weNews = new WeNewsMaterial(NewsItem); return weNews; }