TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
515
47k
Refresh Specific Method in Controller
Oct 24 2019 12:47 PM
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()));
//ViewBag.LocationName = LocationName.StoreName;
//ViewBag.StoreLogo = LocationName.StoreLogo;
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
Reply
Answers (
1
)
Regular Expression
Using Microsoft Agent with C# for win7 or win10 ?