Only need save uploaded files

I am not uploading only image files,so I need do nothing around thumbnail stuff.How can I do within upload.aspx.cs? I still need the follow 2 lines and anything need modify?

Response.StatusCode = 200;
Response.Write(thumbnail_id);