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); }
public MapaController(IMapaService mapaServices) { _mapaServices = mapaServices; }
public MapaController(IMapaService mapaService) { _mapaService = mapaService; }