I have a login link on header of a page. When user clicks on the link, he redirects to LoginPageController with current page type as login page. I want page data of a page from where user clicked on login page. For example, if user is on contact us page and clicks on Login link, I want to get contact us page data.
Hi,
I have a login link on header of a page. When user clicks on the link, he redirects to LoginPageController with current page type as login page. I want page data of a page from where user clicked on login page. For example, if user is on contact us page and clicks on Login link, I want to get contact us page data.
Login page Index code:
public async Task Index(LoginPage currentPage)
{
.....
}
Thanks & Regards,
Sanket Mahimkar