Exemplo n.º 1
0
 public int Add(WebPortal.Model.ToChuc toChuc)
 {
     using (WebPortalEntities dataEntities = new WebPortalEntities())
     {
         dataEntities.AddToToChucs(toChuc);
         return dataEntities.SaveChanges();
     }
 }