Example #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));
 }
Example #2
0
 public static void Sua(ClassUser clsUser)
 {
     new ClassUser_DAO().Sua(clsUser);
 }
Example #3
0
 public static void Xoa(ClassUser clsUser)
 {
     new ClassUser_DAO().Xoa(clsUser);
 }
Example #4
0
 public static bool Them(ClassUser clsUser)
 {
     return(new ClassUser_DAO().Them(clsUser));
 }