Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public TransactionsTests(TestsFixture fixture)
 {
     this.fixture = fixture;
     logic        = new TransactionsLogic(fixture.db);
 }
Esempio n. 3
0
 public TransactionsManagement(TransactionsLogic transactionsLogic, ITransactionsRepository transactionsRepository)
 {
     _transactionsLogic      = transactionsLogic;
     _transactionsRepository = transactionsRepository;
 }