public TransactionsController(CursedDataContext db, [FromServices] IOperationDataValidation operationValidation, [FromServices] IErrorHandlerFactory errorHandlerFactory, [FromServices] ILogProvider <CursedAuthenticationContext> logProvider) { logic = new TransactionsLogic(db); logicValidation = new TransactionsLogicValidation(db, operationValidation, errorHandlerFactory); this.logProvider = logProvider; }
public TransactionsTests(TestsFixture fixture) { this.fixture = fixture; logic = new TransactionsLogic(fixture.db); }
public TransactionsManagement(TransactionsLogic transactionsLogic, ITransactionsRepository transactionsRepository) { _transactionsLogic = transactionsLogic; _transactionsRepository = transactionsRepository; }