public int UpdateData(TroChoiEntity Tc) { SqlParameter[] para = { new SqlParameter("MaTC", Tc.MaTC), new SqlParameter("TenTC", Tc.TenTC), new SqlParameter("MaKhu", Tc.MaKhu) }; return(conn.ExcuteSQL("Sua_TroChoi", para)); }
public int UpdateData(TroChoiEntity Tc) { return(Dal.UpdateData(Tc)); }
public int InsertData(TroChoiEntity Tc) { return(Dal.InsertData(Tc)); }