示例#1
0
        public FirearmServiceTests()
        {
            _firearmRepository = Fixture.Freeze<IFirearmRepository>();

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