Esempio n. 1
0
 public void AddHtmlText(HtmlTextInfo HtmlText)
 {
     try
     {
         db.HtmlText.Add(HtmlText);
         db.SaveChanges();
     }
     catch
     {
         throw;
     }
 }
 public HtmlTextInfo AddHtmlText(HtmlTextInfo HtmlText)
 {
     try
     {
         db.HtmlText.Add(HtmlText);
         db.SaveChanges();
         return(HtmlText);
     }
     catch
     {
         throw;
     }
 }