public static bool Delete(DTOWall obj)
 {
     Cls.CreateNewSqlCommand();
     Cls.AddParameter("Wall_ID", obj.Wall_ID);
     Cls.AddParameter("AccountID1", obj.AccountID1);
     return(Cls.ExecuteNonQuery("sp_Wall_Delete"));
 }
 public static bool Insert(DTOWall obj)
 {
     Cls.CreateNewSqlCommand();
     Cls.AddParameter("AccountID1", obj.AccountID1);
     Cls.AddParameter("Wall_Titile", obj.Wall_Titile);
     Cls.AddParameter("Wall_Img", obj.Wall_Img);
     Cls.AddParameter("Wall_Content", obj.Wall_Content);
     return(Cls.ExecuteNonQuery("sp_Wall_Insert"));
 }
 public static bool Like(DTOWall obj)
 {
     Cls.CreateNewSqlCommand();
     Cls.AddParameter("Wall_ID", obj.Wall_ID);
     Cls.AddParameter("Likes", obj.LikeCount);
     Cls.AddParameter("AccountID1", obj.AccountID1);
     Cls.AddParameter("AccountID2", obj.AccountID2);
     return(Cls.ExecuteNonQuery("sp_Wall_Like"));
 }