public static bool Insert(DTOWallComment obj) { Cls.CreateNewSqlCommand(); Cls.AddParameter("Wall_ID", obj.Wall_ID); Cls.AddParameter("AccountID", obj.AccountID); Cls.AddParameter("Content", obj.Content); return(Cls.ExecuteNonQuery("sp_WallComment_Insert")); }
public static bool Delete(DTOWallComment obj) { Cls.CreateNewSqlCommand(); Cls.AddParameter("WallComment_ID", obj.WallComment_ID); return(Cls.ExecuteNonQuery("sp_WallComment_Delete")); }