public async Task <IActionResult> CreateStudent() { // How to Configure PostgreSQL in Entity Framework Core – Code Maze //https://code--maze-com.cdn.ampproject.org/v/s/code-maze.com/configure-postgresql-ef-core/amp/?usqp=mq331AQCKAE%3D&_js_v=0.1 var student = _dataGenerator.CreateStudent(); var id = await _postgresSqlService.AddStudentAsync(student); Console.WriteLine($"Created student with id {id} for {student.FirstName} {student.LastName}"); var vm = await LoadStudentsViewModelAsync(); return(View("Index", vm)); }