예제 #1
0
 public LibrariesController(LibrariesService librariesService, IMapper mapper, LocationsService locationsService, RolesService rolesService)
 {
     Locations = locationsService;
     Libraries = librariesService;
     Roles     = rolesService;
     Mapper    = mapper;
 }
예제 #2
0
 public RolesController(IMapper mapper, RolesService rolesService, LibrariesService librariesService, UsersService usersService)
 {
     Users     = usersService;
     Mapper    = mapper;
     Roles     = rolesService;
     Libraries = librariesService;
 }
예제 #3
0
 public BooksController(IMapper mapper, LibrariesService librariesService, BooksService booksService, ReviewsService reviewsService, RolesService rolesService)
 {
     Mapper    = mapper;
     Libraries = librariesService;
     Books     = booksService;
     Reviews   = reviewsService;
     Roles     = rolesService;
 }
예제 #4
0
 public LibrariesController(LibrariesService ls, BooksService bs)
 {
     _ls = ls;
     _bs = bs;
 }