public VehiculoController(IVehiculoDomainService VehiculoService, ITipoDocumentoDomainService tipoDocumentoService,
                           IDocumentoDomainService documentoService, IMapper mapper)
 {
     _VehiculoService      = VehiculoService;
     _tipoDocumentoService = tipoDocumentoService;
     _documentoService     = documentoService;
     _mapper = mapper;
 }
Example #2
0
 public ConductorController(ICuentaUsuarioDomainService cuentaUsuarioService, IUsuarioDomainService usuarioService, ITipoCuentaDomainService tipoCuentaService,
                            IDocumentoDomainService documentoService, ITipoDocumentoDomainService tipoDocumentoService, IMapper mapper, PostgresDbContext context)
 {
     _usuarioService       = usuarioService;
     _cuentaUsuarioService = cuentaUsuarioService;
     _tipoCuentaService    = tipoCuentaService;
     _documentoService     = documentoService;
     _tipoDocumentoService = tipoDocumentoService;
     _mapper  = mapper;
     _baseUrl = string.Empty;
     _context = context;
 }