Just leave the action-attribute of the form empty and add the following code in top of the Razor file
@{
if (IsPost)
{
foreach (HttpPostedFile file in Request.Files)
{
var fileName = FilePrefix + file.FileName;
fileName = Path.GetFileNameWithoutExtension(fileName) + FileSuffix + Path.GetExtension(file.FileName);
var path = Path.Combine(ContentPath, fileName);
file.SaveAs(path);
}
}
}