public UserRepository(InstrumentDbContext context, ISeriLog logger) : base(context, logger) { }
public BaseRepository(InstrumentDbContext context, ISeriLog logger) { this._context = context; Log = logger; }
public InstrumentService(IInstrumentRepository instrumentRepository, ISeriLog logger) { this.instrumentRepository = instrumentRepository; this.logger = logger; }
public UserService(IRepository <User> repository, ISeriLog logger) { this.repository = repository; this.logger = logger; }
public UsersController(IUserService userService, ISeriLog logger) { this.userService = userService; this.logger = logger; }
public InstrumentServiceTests() { this.instrumentRepository = Substitute.For <IInstrumentRepository>(); this.logger = Substitute.For <ISeriLog>(); this.instrumentService = new InstrumentService(instrumentRepository, logger); }