Exemplo n.º 1
0
        public LocationController(IMapServices mapServices,
                                  ILogger <LocationController> logger,
                                  ITableServices tableServices,
                                  IMapper mapper)
            : base(logger)
        {
            _mapServices = mapServices;
            _logger      = logger;

            var trace = new BGBA.Models.N.Core.Trace.TraceEventHandler(delegate(object sender, BGBA.Models.N.Core.Trace.TraceEventArgs e)
            {
                base.Communicator_TraceHandler(sender, e);
            });

            _mapServices.TraceHandler  += trace;
            tableServices.TraceHandler += trace;

            _tableHelper = new TableHelper(tableServices, mapper);
        }
Exemplo n.º 2
0
 public TableHelper(ITableServices tableServices, IMapper mapper)
 {
     _tableServices = tableServices;
     _mapper        = mapper;
 }