public ReadModelEventHandler(EacmDbContext dbContext, IMapper mapper) { this.dbContext = dbContext.ArgumentNotNull(nameof(dbContext)); this.mapper = mapper.ArgumentNotNull(nameof(mapper)); }
public ProjectsController(EacmDbContext dbContext, ICommandSender commandSender, IMapper mapper) { this.dbContext = dbContext.ArgumentNotNull(nameof(dbContext)); this.commandSender = commandSender.ArgumentNotNull(nameof(commandSender)); this.mapper = mapper.ArgumentNotNull(nameof(mapper)); }