public ActionResult PlaceOrder() { //OrderDetails order = new OrderDetails(); if (Session["CustomerName"] != null&& Session["CustomerMobileNo"]!= null ) { OrdersBLL order = new OrdersBLL(); ViewBag.DeliveryAddress = order.getAddress(Session["CustomerMobileNo"].ToString()); } else { return RedirectToAction("DoLogin", "Login"); } return View(); }