public ContaLuzController(IContaLuzRepository contaLuzRepository) { this.contaLuzRepository = contaLuzRepository; }
public ContaLuzViewModel(IContaLuzRepository contaLuzRepository) { this.listaContasLuz = contaLuzRepository.Get(); this.menorConsumo = contaLuzRepository.GetMenorConsumo(); this.maiorConsumo = contaLuzRepository.GetMaiorConsumo(); }
public ContaLuzController(IContaLuzRepository contaLuzRepository, IImovelRepository imovelRepository) { this.contaLuzRepository = contaLuzRepository; this.imovelRepository = imovelRepository; }