コード例 #1
0
 public CasaService(ICasaRepository casaRepository,
                    IEnderecoService enderecoService,
                    IMoradorService moradorService) : base(casaRepository)
 {
     _casaRepository  = casaRepository;
     _enderecoService = enderecoService;
     _moradorService  = moradorService;
 }
コード例 #2
0
 public MoradorController(IMoradorService moradorService, IFamiliaService familiaService, ILogger <MoradorController> logger)
 {
     _moradorService = moradorService;
     _familiaService = familiaService;
     _logger         = logger;
 }
コード例 #3
0
 public MoradoresController(INotificator notificator, IMoradorService moradorService, IMapper mapper, IUser user) : base(notificator, user)
 {
     _moradorService = moradorService;
     _mapper         = mapper;
 }