Exemplo n.º 1
0
 public static IMachineBuilder AddNoDbDataAccess(this IMachineBuilder builder,
                                                 IConfiguration config)
 {
     builder.Services.Configure <NoDbDataAccessOptions>(config);
     return(builder.AddNoDbDataAccess());
 }
Exemplo n.º 2
0
 public static IMachineBuilder AddNoDbDataAccess(this IMachineBuilder builder,
                                                 Action <NoDbDataAccessOptions> configureOptions)
 {
     builder.Services.Configure(configureOptions);
     return(builder.AddNoDbDataAccess());
 }