public void OnGet(int blogTypeId) { blogs = blogData.GetApproved(blogTypeId, searchTerm); userProfiles = accountData.GetAll(); blogType = typeData.GetType(blogTypeId).type; }