public ActionResult CoffeeEntry(Coffee entry, HttpPostedFileBase cover) { entry.PartitionKey = ""; if (cover != null) { blobService.UploadByStream(entry.RowKey, cover.InputStream); } coffeeService.InsertOrReplace(entry); return(RedirectToAction("Index")); }