public AddNoteCommandHandler(INotesRepo notesRepo)
 {
     _notes = notesRepo;
 }
 public HomeController(ILogger <HomeController> logger, INotesRepo repo, UserManager <IdentityUser> userManager)
 {
     _logger          = logger;
     this.repo        = repo;
     this.userManager = userManager;
 }
Exemple #3
0
 public NotesController(INotesRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
 public GetNotesQueryHandler(INotesRepo notesRepo)
 {
     _notes = notesRepo;
 }
 public UpdateNoteCommandHandler(INotesRepo notesRepo)
 {
     _notes = notesRepo;
 }
Exemple #6
0
 public DeleteNotesCommandHandler(INotesRepo notes)
 {
     _notes = notes;
 }