Ejemplo n.º 1
0
 public HtmlTextInfo UpdateHtmlText(HtmlTextInfo HtmlText)
 {
     try
     {
         db.Entry(HtmlText).State = EntityState.Modified;
         db.SaveChanges();
         return(HtmlText);
     }
     catch
     {
         throw;
     }
 }
Ejemplo n.º 2
0
 public HtmlTextInfo UpdateHtmlText(HtmlTextInfo htmlText)
 {
     _db.Entry(htmlText).State = EntityState.Modified;
     _db.SaveChanges();
     return(htmlText);
 }
Ejemplo n.º 3
0
 public Models.HtmlText UpdateHtmlText(Models.HtmlText htmlText)
 {
     _db.Entry(htmlText).State = EntityState.Modified;
     _db.SaveChanges();
     return(htmlText);
 }