Exemple #1
0
 /// <summary>
 /// Xoa theo clsUser.Id
 /// </summary>
 /// <param name="clsUser"></param>
 public void Xoa(ClassUser clsUser)
 {
     SqlHelper.ExecuteNonQuery(sConn, CommandType.StoredProcedure, "spUsers",
                               new SqlParameter("@Activity", "DeleteById"),
                               new SqlParameter("@IdUser", clsUser.Id));
 }
Exemple #2
0
 public static void Sua(ClassUser clsUser)
 {
     new ClassUser_DAO().Sua(clsUser);
 }
Exemple #3
0
 public static void Xoa(ClassUser clsUser)
 {
     new ClassUser_DAO().Xoa(clsUser);
 }
Exemple #4
0
 public static bool Them(ClassUser clsUser)
 {
     return(new ClassUser_DAO().Them(clsUser));
 }