public void ConfigureServices(IServiceCollection services) { services.AddMvc(); services.AddEntityFrameworkMySql() .AddDbContext <ProjectNameContext>(options => options TODO .UseMySql(Configuration["ConnectionStrings:DefaultConnection"])); }