Exemplo n.º 1
0
 public ApplicationDbContext(
     DbContextOptions <ApplicationDbContext> options,
     IAutheticatedUserService currentUserService,
     IDateTimeService dateTime) : base(options)
 {
     _currentUserService = currentUserService;
     _dateTimeService    = dateTime;
 }
 public UpdateNoteCommandHandler(
     IApplicationUnitOfWork applicationUnitOfWork,
     ILogger <UpdateNoteCommandHandler> logger,
     IAutheticatedUserService userService
     )
 {
     _applicationUnitOfWork = applicationUnitOfWork;
     _logger      = logger;
     _userService = userService;
 }