Removal of nitrate and phosphate using prepared polymeric materials by adsorption and photocatalytic reduction methods