Пример #1
0
 public UserRepository(InstrumentDbContext context, ISeriLog logger) : base(context, logger)
 {
 }
Пример #2
0
 public BaseRepository(InstrumentDbContext context, ISeriLog logger)
 {
     this._context = context;
     Log           = logger;
 }
Пример #3
0
 public InstrumentService(IInstrumentRepository instrumentRepository, ISeriLog logger)
 {
     this.instrumentRepository = instrumentRepository;
     this.logger = logger;
 }
Пример #4
0
 public UserService(IRepository <User> repository, ISeriLog logger)
 {
     this.repository = repository;
     this.logger     = logger;
 }
Пример #5
0
 public UsersController(IUserService userService, ISeriLog logger)
 {
     this.userService = userService;
     this.logger      = logger;
 }
Пример #6
0
 public InstrumentServiceTests()
 {
     this.instrumentRepository = Substitute.For <IInstrumentRepository>();
     this.logger            = Substitute.For <ISeriLog>();
     this.instrumentService = new InstrumentService(instrumentRepository, logger);
 }