public DireccionBusiness(IUnitOfWork _unitOfWork) { unitOfWork = _unitOfWork; paisRepository = new PaisRepository(unitOfWork); estadoRepository = new EstadoRepository(unitOfWork); municipioRepository = new MunicipioRepository(unitOfWork); coloniaRepository = new ColoniaRepository(unitOfWork); direccionRepository = new DireccionRepository(unitOfWork); }
public ColoniaController(ILogger <ColoniaController> logger, IMapper mapper) { _mapper = mapper; _logger = logger; _coloniaRepository = new ColoniaRepository(); }
public ColoniaBusiness(IUnitOfWork _unitOfWork) { unitOfWork = _unitOfWork; coloniaRepository = new ColoniaRepository(unitOfWork); }
public SeccionBusiness(IUnitOfWork _unitOfWork) { unitOfWork = _unitOfWork; seccionRepository = new SeccionRepository(unitOfWork); coloniaRepository = new ColoniaRepository(unitOfWork); }