コード例 #1
0
 public StorageLocationServiceTests()
 {
     _mockIMapper = new Mock <IMapper>();
     _mockStorageLocationRepository = new Mock <IStorageLocationRepository>();
     _fixture = new Fixture();
     _storageLocationService = new StorageLocationService(_mockStorageLocationRepository.Object, _mockIMapper.Object);
 }
コード例 #2
0
 public StorageLocationsController(IStorageLocationService storageLocationService)
 {
     _storageLocationService = storageLocationService;
 }