//Total amount of completed orders public ActionResult TotalAmount() { if (!CommonServices.CheckUserSession()) { return this.RedirectToAction("Login", "Login"); } OrderServices orderService = new OrderServices(); var GrandTotal = orderService.GrandTotal(UserSession.UserId); return PartialView("_GrandTotalPartial", GrandTotal); }