Skip to content

Instantly share code, notes, and snippets.

[HttpPost]
public ActionResult Upload(HttpPostedFileBase fileData)
{
try
{
string[] tipoArchivo = { "image/jpeg", "image/jpg", "image/bmp", "image/png", "video/mp4", "video/x-matroska", "video/x-msvideo" };
IList<String> imagenes = new List<string>
{
"jpg", "jpeg", "bmp", "png"
};