public ChatroomService(IChatroomRepository repository , IChatroomMappingService mappingService , ApplicationDbContext context) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mappingService = mappingService ?? throw new ArgumentNullException(nameof(mappingService)); _context = context ?? throw new ArgumentNullException(nameof(context)); }