public ActionResult DownloadBatch(int Id)
        {
            var content = bm.GetBatchBase64(Id);

            if (content != null)
            {
                var bytes = Convert.FromBase64String(content[1]);
                return(File(bytes, "text/plain", content[0]));
            }
            return(Json("Batch not found", JsonRequestBehavior.AllowGet));
        }