예제 #1
0
 public UsersController(ILoginService loginService, IMapper mapper, IHelperImage helperImage, IPasswordHasher passwordHasher, IWebHostEnvironment env)
 {
     _loginService   = loginService;
     _mapper         = mapper;
     _helperImage    = helperImage;
     _passwordHasher = passwordHasher;
     directory       = env.ContentRootPath;
 }
예제 #2
0
 public MarcasController(IMarcaService marcaService, IMapper mapper, IUriService uriService, IHelperImage helperImage, IWebHostEnvironment env)
 {
     _marcaService = marcaService;
     _mapper       = mapper;
     _uriService   = uriService;
     _helperImage  = helperImage;
     directory     = env.ContentRootPath;
 }
예제 #3
0
 public VehiculosController(IVehiculoService vehiculoService, IMapper mapper, IUriService uriService, IHelperImage helperImage, IWebHostEnvironment env)
 {
     _helperImage     = helperImage;
     _mapper          = mapper;
     _uriService      = uriService;
     _vehiculoService = vehiculoService;
     directory        = env.ContentRootPath;
 }
 public UsuariosController(IUsuarioService usuarioService, IMapper mapper, IUriService uriService, IHelperImage helperImage)
 {
     _usuarioService = usuarioService;
     _mapper         = mapper;
     _uriService     = uriService;
     _helperImage    = helperImage;
     directory       = Directory.GetCurrentDirectory();
 }
 public ClientesController(IClienteService clienteService, IMapper mapper, IUriService uriService,
                           IHelperImage helperImage, IWebHostEnvironment env)
 {
     _clienteService = clienteService;
     _mapper         = mapper;
     _uriService     = uriService;
     _helperImage    = helperImage;
     directory       = env.ContentRootPath;
 }