public FirearmServiceTests() { _firearmRepository = Fixture.Freeze<IFirearmRepository>(); _firearmService = Fixture.Create<FirearmService>(); }
public FirearmService(IFirearmRepository firearmRepository) { _firearmRepository = firearmRepository; }
public FirearmBusiness(IFirearmRepository firearmRepository, ILogger <FirearmBusiness> logger) { this.firearmRepository = firearmRepository; this.logger = logger; }