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