public IActionResult IndexHr() { var email = User.FindFirst("emails").Value; var applications = _applicationData.GetHrMemberApplications(email); var model = new ApplicationsViewModel(); model.Applications = applications; model.UserType = UserType.Hr; return(View(model)); }