Hello,
Following is My Controller Home Method.
- public ActionResult Home()
- {
- Guid LoginId = new Guid(Session["UserId"].ToString());
- BindSCOBalance(LoginId);
- PopulateViewBag();
- Guid id = Guid.Parse(Session["UserId"].ToString());
- ViewBag.UsersTransactionsHistory = objTransaction.GetUserTransactions(id);
- ViewBag.RemainTransactionsHistory = objTransaction.GetRemainUserTransactions(id);
- ViewBag.UsersTempRedeem = objtempredeem.GettempdreddembyUserId(LoginId);
- ViewBag.LocationList = objLocationMaster.GetLocationsByMerchantId(Guid.Parse(Session["MerchnatId"].ToString()));
- var LocationName = objLocationMaster.GetLocationsByMerchantIdsingle(Guid.Parse(Session["MerchnatId"].ToString()));
-
-
- MerchantMaster merchantdetails = objmerchant.GetById(Guid.Parse(Session["MerchnatId"].ToString()));
- ViewBag.LocationName = merchantdetails.MerchantUser;
- ViewBag.StoreLogo = merchantdetails.UserAvatar;
- ViewBag.Currency = merchantdetails.Currency;
- UserMaster userdetails = objuser.GetById(LoginId);
- return View(userdetails);
- }
I just want to refresh BindSCOBalance(LoginId) function from it, but don't want to refresh the whole Home Method.
Thanks in advance