Exemplo n.º 1
0
 public int Add(WebPortal.Model.ChucVu_GiaoVien chucVu_GiaoVien)
 {
     using (WebPortalEntities dataEntities = new WebPortalEntities())
     {
         dataEntities.AddToChucVu_GiaoVien(chucVu_GiaoVien);
         return dataEntities.SaveChanges();
     }
 }