public Task IncludeArticle(Article article)
 {
     articleDataContext.Articles.AddAsync(article);
     return(articleDataContext.SaveChangesAsync());
 }
Exemplo n.º 2
0
 public Task AddParagraph(Paragraph paragraph)
 {
     articleDataContext.Paragraphs.Add(paragraph);
     return(articleDataContext.SaveChangesAsync());
 }