Ejemplo n.º 1
0
        public MapaController()
        {
            var unitOfWorkRepository = new NHUnitOfWorkRepository <Mapa>();
            var unitOfWork           = new NHUnitOfWork <Mapa>(unitOfWorkRepository);
            var mapaRepository       = new MapaRepository(unitOfWork);

            this._mapaServices = new MapaServices(mapaRepository);

            var fileRepostory = new MapaFileRepository();

            this._fileServices = new FileServices(fileRepostory);
        }
Ejemplo n.º 2
0
 public MapaController(IMapaService mapaServices)
 {
     _mapaServices = mapaServices;
 }
Ejemplo n.º 3
0
 public MapaController(IMapaService mapaService)
 {
     _mapaService = mapaService;
 }