public Option <SuccessResult, ErrorResult> Create(CreateSceneCommand command)
 {
     return(_createSceneCommandValidator
            .Validate(command)
            .OnSuccess(errorBuilder =>
     {
         _sceneRepository.Insert(_mapper.Map(command));
     }));
 }
        public SceneEntity Map(CreateSceneCommand source)
        {
            var destination = new SceneEntity
            {
                AccountId = source.Credentials.AccountId,
                ProjectId = source.ProjectId,
                Name      = source.Name,
            };

            return(destination);
        }