It seems like you have @ViewBag.Title
in your MasterLayout.cshtml which contains the value for the <title>
tag.
You need to make sure that you set the Title
property of the ViewBag
in your controller.
e.g.
ViewBag.Title = "HomePage";
Then when the page is rendered you will have your desired title.