Пример #1
0
 public BooksController(
     NoesisApiContext context,
     IBookService bookService,
     ICommentService commentService,
     INoteService noteService
     )
 {
     _context        = context;
     _bookService    = bookService;
     _commentService = commentService;
     _noteService    = noteService;
 }
Пример #2
0
 public CommentService(NoesisApiContext context)
 {
     _context = context;
 }
Пример #3
0
 public UserService(IOptions <AppSettings> appSettings, NoesisApiContext context)
 {
     _appSettings = appSettings.Value;
     _context     = context;
 }
Пример #4
0
 public BookService(NoesisApiContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Пример #5
0
 public NoteService(NoesisApiContext context)
 {
     _context = context;
 }