public LibraryController(ILogger <LibraryController> logger,
                          IConfiguration config,
                          ILibraryDAO lib)
 {
     _logger = logger;
     _lib    = lib;
     _config = config;
 }
 public LibraryStrongTypedController(ILibraryDAO lib)
 {
     _lib = lib;
 }
示例#3
0
 public LibraryService()
 {
     _libraryDAO = new LibraryDAO();
     _userDAO    = new UserDAO();
     _dbUtils    = new DbUtils();
 }