示例#1
0
 public HomeController(ILibService service, IConfiguration config)
 {
     libService       = service;
     configuration    = config;
     connectionString = configuration.GetConnectionString("Main");
 }
示例#2
0
 public LibController(ILibService service)
 {
     this.service = service;
 }