No migrations configuration type was found in the assembly

Code Example - No migrations configuration type was found in the assembly

                
                        I solved this by adding EntityFrameworkCore\ before Add-Migration, i.e. the final statement was:

EntityFrameworkCore\Add-Migration