public FundoService(IFundoRepository fundoRepository, IUnitOfWork unitOfWork, IMapper mapper) { this.fundoRepository = fundoRepository; this.unitOfWork = unitOfWork; this.mapper = mapper; }
public FundoControllerTest() { fundoRepository = new FundoRepository(Context); unitOfWork = new UnitOfWork(Context); mapper = AutoMapperConfig.RegisterMappings().CreateMapper(); fundoService = new FundoService(fundoRepository, unitOfWork, mapper); fundoController = new FundoController(fundoService); CarregarFundos(); }
public FundoService(IFundoRepository fundoRepository, IMovimentacaoRepository movimentacaoRepository) { _fundoRepository = fundoRepository; _movimentacaoRepository = movimentacaoRepository; }
public FundoApplication(IFundoRepository fundoRepository) { this.fundoRepository = fundoRepository; }
public FundoService(IFundoRepository fundoRepository) { _fundoRepository = fundoRepository; }