I have already tried these steps:
I have already istalled this packege Microsoft.AspNet.WebApi.Cors
DemoController.cs
I am using some code of Angular
auth.service.ts