public ActionResult Edit(Recipe r, HttpPostedFileBase uploadedImage)
        {
            if (uploadedImage != null)
            {
                string fileName = System.IO.Path.GetFileName(uploadedImage.FileName);
                string path     = System.IO.Path.Combine(
                    Server.MapPath("~/images/recipe"), fileName);

                // Save
                uploadedImage.SaveAs(path);
                r.ImageName = fileName;
            }

            recipeDal.EditRecipe(r);

            //Save in Session that they just updated a recipe
            TempData["StatusMessage"] = "Success! Your recipe was successfully updated!";


            return(RedirectToAction("Index", "Home"));
        }