assign a default value to a variable and change into database : i have a method

    getlisting(string url,int ID)
i am passing this parameter ID to another function in another class

     Controller __cc = new Controller();
                    int Status = 1;
                    __cc.UpdatePaging(ID, Status);
i am passing this to update function and want to assign a default value of zero to ID and 1 to status and then return it and make changes in database,
  

     public void UpdatePaging(int ID,int Status)
            {
                
                   if (ID != null)
                    {
    
    
                        ID = 0;
                    }
                    else 
                    {
                        ID = 0;
                    }
                 
                SqlCommand cmd = new SqlCommand("UPDATE Paging SET Status='1' WHERE ID = @ID", obj.openConnection());
                cmd.CommandType = System.Data.CommandType.Text;
                cmd.Parameters.AddWithValue("@Status", SqlDbType.Int).Value = 1;
                cmd.Parameters.AddWithValue("@ID", SqlDbType.Int).Value = ID;
                cmd.ExecuteNonQuery();
                
    
            }
but i can't do it, is there something wrong with my code? or tell me how to assign a 0 value to int and update it in Database, whenever i get any value from getlisting method it should be assigned zero and update in DB any help?