public NotesController(IReadNoteService readNoteService, ICreateNoteService createNoteService,
                        IUpdateNoteService updateNoteService, IDeleteNoteService deleteNoteService, IReadNoteListService readNoteListService, ILogger <NotesController> logger,
                        IOptions <AppConfiguration> appOptions)
 {
     _readNoteService     = readNoteService;
     _createNoteService   = createNoteService;
     _updateNoteService   = updateNoteService;
     _deleteNoteService   = deleteNoteService;
     _readNoteListService = readNoteListService;
     _logger                 = logger;
     _appOptions             = appOptions;
     _noteMappingService     = new NoteMappingService();
     _noteListMappingService = new NoteListMappingService();
 }
예제 #2
0
 public NoteController(IReadNoteService readNoteService, IWriteNoteService writeNoteService)
 {
     this.readNoteService  = readNoteService;
     this.writeNoteService = writeNoteService;
 }