Ejemplo n.º 1
0
 public WaterMetersController(
     DataContext context,
     IWaterMeterRepository waterMeterRepository,
     IBillRepository billRepository,
     IStepRepository stepRepository,
     ICityRepository cityRepository,
     IUserHelper userHelper,
     IChartHelper chartHelper,
     IPdfHelper pdfHelper,
     IMailHelper mailHelper)
 {
     _context = context;
     _waterMeterRepository = waterMeterRepository;
     _billRepository       = billRepository;
     _stepRepository       = stepRepository;
     _userHelper           = userHelper;
     _cityRepository       = cityRepository;
     _chartHelper          = chartHelper;
     _pdfHelper            = pdfHelper;
     _mailHelper           = mailHelper;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="repository">WaterMeter Repository</param>
 /// <param name="mapper"> Mapper </param>
 public WaterMetersController(IWaterMeterRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }