public FloodController(IFloodMonitoringService foodMonitoringService, Mapper mapper) { _floodMonitoringService = foodMonitoringService; _mapper = mapper; }
public void Init() { _service = new FloodMonitoringService(_serviceUrl, _getUrl); _mapper = new Mapper(AutomapperConfiguration.GetConfig()); }