public static IMachineBuilder AddNoDbDataAccess(this IMachineBuilder builder, IConfiguration config) { builder.Services.Configure <NoDbDataAccessOptions>(config); return(builder.AddNoDbDataAccess()); }
public static IMachineBuilder AddNoDbDataAccess(this IMachineBuilder builder, Action <NoDbDataAccessOptions> configureOptions) { builder.Services.Configure(configureOptions); return(builder.AddNoDbDataAccess()); }