Blazor component can call REST API directly, but create a separate service that calls the REST API.
Solution Structure
1. Customer.API project using Repository Pattern
2. Customer.Models project to share between API and Blazor AppServer
3. Cusotmer.Server Blazoe AppServer project.