Exemplo n.º 1
0
 public int Add(Model.Profile profile)
 {
     using (WebPortalEntities dataEntities = new WebPortalEntities())
     {
         dataEntities.AddToProfiles(profile);
         return dataEntities.SaveChanges();
     }
 }