API and Frontend in same project, API not reachable - C#