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