Created
December 25, 2018 00:16
-
-
Save fredyfx/b001ab9ebd4967f596b45683547285f6 to your computer and use it in GitHub Desktop.
Agregando DbContext a los servicios de nuestr app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void ConfigureServices(IServiceCollection services) | |
{ | |
services.AddDbContext<AdvientoContext>(); | |
services.AddMvc(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment