Ejemplo n.º 1
0
        public FirearmServiceTests()
        {
            _firearmRepository = Fixture.Freeze<IFirearmRepository>();

            _firearmService = Fixture.Create<FirearmService>();
        }
Ejemplo n.º 2
0
 public FirearmService(IFirearmRepository firearmRepository)
 {
     _firearmRepository = firearmRepository;
 }
Ejemplo n.º 3
0
 public FirearmBusiness(IFirearmRepository firearmRepository, ILogger <FirearmBusiness> logger)
 {
     this.firearmRepository = firearmRepository;
     this.logger            = logger;
 }