public int Update(NhaCungCapDto obj)
 {
     SqlParameter[] para =
     {
         new SqlParameter("MaNCC",     obj.MaNcc),
         new SqlParameter("TenNCC",    obj.TenNcc),
         new SqlParameter("DiaChi",    obj.DiaChi),
         new SqlParameter("DienThoai", obj.Sdt)
     };
     return(provider.ExecuteSQL("NCC_Update", para));
 }
Exemple #2
0
 public int Update(NhaCungCapDto obj)
 {
     return(dao.Update(obj));
 }
Exemple #3
0
 public int Insert(NhaCungCapDto obj)
 {
     return(dao.Insert(obj));
 }