public StorageLocationServiceTests() { _mockIMapper = new Mock <IMapper>(); _mockStorageLocationRepository = new Mock <IStorageLocationRepository>(); _fixture = new Fixture(); _storageLocationService = new StorageLocationService(_mockStorageLocationRepository.Object, _mockIMapper.Object); }
public StorageLocationsController(IStorageLocationService storageLocationService) { _storageLocationService = storageLocationService; }