Ejemplo n.º 1
0
 public LegacyGraphController(ILegacySumupService sumupService, ILegacyAccountStatusQueryRepository monthlyAccountStatusRepository, ILegacyPostingQueryRepository graphRepository, ISubCategoryRepository subCategoryRepository)
 {
     _sumupService = sumupService;
     _monthlyAccountStatusRepository = monthlyAccountStatusRepository;
     _postingQueryRepository         = graphRepository;
     _subCategoryRepository          = subCategoryRepository;
 }
Ejemplo n.º 2
0
 public LegacyLossService(ILegacyLossRepository lossRepository,
                          ILegacyPostingQueryRepository postingQueryRepository,
                          ILegacyAccountStatusQueryRepository accountStatusQueryRepository)
 {
     _lossRepository               = lossRepository;
     _postingQueryRepository       = postingQueryRepository;
     _accountStatusQueryRepository = accountStatusQueryRepository;
 }
Ejemplo n.º 3
0
 public void SetUp()
 {
     _fixture = new Fixture().Customize(new AutoMoqCustomization {
         ConfigureMembers = true
     });
     _postingQueryRepository         = _fixture.Freeze <ILegacyPostingQueryRepository>();
     _monthlyAccountStatusRepository = _fixture.Freeze <ILegacyAccountStatusQueryRepository>();
     _accountStatusRepository        = _fixture.Freeze <IAccountStatusRepository>();
     _fixture.Inject <ILegacyAccountStatusSumupService>(_fixture.Create <LegacyAccountStatusSumupService>());
     _fixture.Inject <ILegacyPostingSumupService>(_fixture.Create <LegacyPostingSumupService>());
 }
Ejemplo n.º 4
0
 public LegacyLossRepository(PurchasesContext context, ILegacyPostingQueryRepository postingQueryRepository)
 {
     _context = context;
     _postingQueryRepository = postingQueryRepository;
 }
Ejemplo n.º 5
0
 public DashboardService(ILegacyPostingQueryRepository postingQueryRepository, ILegacyAccountStatusQueryRepository monthlyAccountStatusRepository)
 {
     _postingQueryRepository         = postingQueryRepository;
     _monthlyAccountStatusRepository = monthlyAccountStatusRepository;
 }
Ejemplo n.º 6
0
 public LegacyPostingSumupService(ILegacyPostingQueryRepository postingQueryRepository)
 {
     _postingQueryRepository = postingQueryRepository;
 }