Пример #1
0
 public HomeInfoService(IMapper mapper,
                        IDoacaoService doacaoService,
                        GloballAppConfig globalSettings,
                        IHomeInfoRepository homeRepository,
                        ICausaRepository causaRepotirory)
 {
     _mapper          = mapper;
     _doacaoService   = doacaoService;
     _homeRepository  = homeRepository;
     _globalSettings  = globalSettings;
     _causaRepository = causaRepotirory;
 }
Пример #2
0
 public CausaService(ICausaRepository causaRepository,
                     IMapper mapper)
 {
     _mapper          = mapper;
     _causaRepository = causaRepository;
 }