Skip to content

Instantly share code, notes, and snippets.

@fredyfx
Created December 25, 2018 00:16
Show Gist options
  • Save fredyfx/b001ab9ebd4967f596b45683547285f6 to your computer and use it in GitHub Desktop.
Save fredyfx/b001ab9ebd4967f596b45683547285f6 to your computer and use it in GitHub Desktop.
Agregando DbContext a los servicios de nuestr app.
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