public ActionResult UploadFile(HttpPostedFileBase file)
        {
            // Read bytes from http input stream
            BinaryReader binaryReader = new BinaryReader(file.InputStream);

            byte[] binaryData = binaryReader.ReadBytes(file.ContentLength);

            string payload = Encoding.UTF8.GetString(binaryData);

            repository.InsertUpload(payload);

            var uploads = GetUploads();

            return(View("Upload", uploads));
        }