public UploadAvatarCommandHandler(IHandler handler, IMediatRBus mediatRBus, IAvatarService avatarService, IFileResolver fileResolver) { _handler = handler.CheckIfNotEmpty(); _mediatRBus = mediatRBus.CheckIfNotEmpty(); _avatarService = avatarService.CheckIfNotEmpty(); _fileResolver = fileResolver.CheckIfNotEmpty(); }