コード例 #1
0
        public void SomeOperation(AnotherEntityId id)
        {
            AnotherEntity entity = _anotherEntityRepository.GetById(id);

            entity.SomeLogic();

            _anotherEntityRepository.Update(entity);
        }
コード例 #2
0
 public AnotherEntity GetById(AnotherEntityId id)
 {
     throw new NotImplementedException();
 }