public ContaLuzController(IContaLuzRepository contaLuzRepository)
 {
     this.contaLuzRepository = contaLuzRepository;
 }
 public ContaLuzViewModel(IContaLuzRepository contaLuzRepository)
 {
     this.listaContasLuz = contaLuzRepository.Get();
     this.menorConsumo   = contaLuzRepository.GetMenorConsumo();
     this.maiorConsumo   = contaLuzRepository.GetMaiorConsumo();
 }
Пример #3
0
 public ContaLuzController(IContaLuzRepository contaLuzRepository, IImovelRepository imovelRepository)
 {
     this.contaLuzRepository = contaLuzRepository;
     this.imovelRepository   = imovelRepository;
 }